User Tag List

Results 1 to 6 of 6

Thread: Visualizing Collisions in Firefly?

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Visualizing Collisions in Firefly?

    Is there any way to see an object's collision radius? I frequently run into issues with collision, and it often occurs because it's difficult to determine how the changes to the radius and translation are effecting the collision bounds.

    Also: Is there any way to simulate a "While Colliding" condition? The "Has collided with" condition only detects on impact, not while an object is currently colliding with something and not moving.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    371
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    you could add a primitive sphere - and parent it.

    i'll look into adding it to the debug options.

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll try the sphere thing, though I'm not sure if the size adjustments will be the same as the collision radius.


    You didn't answer my second question though, about having a "While Colliding" event. Like for example, if a player were to fall into lava and they're supposed to continuously take damage if they stand in the lava, whether or not they continue moving. Isn't there some way to do that sort of thing?

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,037
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    normally in 3d programming for that question - is to check the distance between both collision spheres/radius is lesser - eg - if both radius is 1, and if they are closer than 1, then they are overlapping.

    the easy way is to simulate all collisions in 2d; you have a solid reliable source - and can use standard fusion Overlapping or collides - but you need to simulate your 3d world in 2d for that.

  5. #5
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @danjo Checking the distance doesn't really work for an object where the shape of the mesh is important (like a level mesh or a long flat plain). Using 2D to simulate collisions limits objects to 2D movement and doesn't allow decimal precision.

  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,037
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    what you see on the 2d field doesn't have to mean is it literal. 1 pixel may equal 0.1 on the 3d axis IF you want it to

Similar Threads

  1. Firefly or CF 3?
    By GhostDataForger in forum Fusion 2.5
    Replies: 2
    Last Post: 29th December 2016, 07:42 PM
  2. possible to port firefly to uwp?
    By cel in forum Firefly
    Replies: 1
    Last Post: 12th December 2016, 08:39 PM
  3. I just bought Firefly
    By dascribe in forum Firefly
    Replies: 2
    Last Post: 9th December 2016, 12:06 AM
  4. Visualizing a 2D array (I need some help)
    By JimJam in forum File Archive
    Replies: 8
    Last Post: 27th September 2008, 04:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •