175 Physics crash

0 favourites
  • 2 posts
From the Asset Store
75 Orchestral Soundtracks + 25 Ambient Soundscapes / Over 2:20 Hours of Original Music / 175 Audio Tracks in Total (*inc
  • Problem Description

    Setting size on every tick will crash physics behavior .

    Attach a Capx

    Done

    Description of Capx

    It is an example for creating a physics object and scaling it down at every tick

    Steps to Reproduce Bug

      Create a physics object from a sprite . Put a mouse object to create objects at mouse.x mouse.y Create a script to scale the object down at every tick . Disable collision between objects.

    Observed Result

    The sprite stands in the same position crashing the physics properties of the object.

    Expected Result

    The physics behavior should be still intact.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 8.0

    Construct 2 Version ID

    175 beta

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Closing as won't fix. Modifying the size every tick causes the engine to have to destroy and re-create the physics body every frame, which probably is what prevents forces acting on it properly. I'm afraid this is just the kind of thing you can't do with a physics engine.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)