User Tag List

Results 1 to 3 of 3

Thread: Messed up collision box after scaling physics object at runtime

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Feb 2017
    Posts
    338
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Messed up collision box after scaling physics object at runtime

    Hey, does anybody know if its possible somehow to scale the collision box of a physics object at runtime in fusion? Whenever i try to scale a physics object in the game the collision box is totally messed up afterwards!?

    Is this possible?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    937
    Mentioned
    47 Post(s)
    Tagged
    0 Thread(s)
    I think you need to remove the object from the physical world and add it again after scaling, then it should update the collision mask to the new scale.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Feb 2017
    Posts
    338
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Thanks Julian, i will test it out.
    I read on the internet also its not such a good idea to scale collision boxes anyway, especially in box2d, it gives all kind off problems, what i ended up doing i just scale a sprite and use a seperate collision box for it.

Similar Threads

  1. Collision issues with 8D movement (using the physics object)
    By AlliterationAddiction in forum Fusion 2.5
    Replies: 4
    Last Post: 4th May 2018, 10:28 AM
  2. Collision between physics object and transparnecy
    By keystarknight in forum Fusion 2.5
    Replies: 2
    Last Post: 22nd May 2016, 04:38 PM
  3. Physics Movements, Scaling and Collision Boxes
    By Chloe in forum Fusion 2.5
    Replies: 8
    Last Post: 20th January 2015, 10:24 AM
  4. Physics - bouncing ball object collision with itself?
    By AndyBazooka in forum Fusion 2.5
    Replies: 6
    Last Post: 6th July 2014, 09:58 PM
  5. Physics collision on object problem.
    By paobrasil in forum Fusion 2.5
    Replies: 5
    Last Post: 13th March 2014, 06:50 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
  •