Animation messes up the physics

  • I have a problem where my object has an animation running while a physics force is being applied to it. Problem is that when the animation runs, the movement speed from the physics force is a lot weaker (it kind of starts jittering, even when the collision boxes are the same for every frame). If I remove the animation, physics make the object move a lot faster again.

    I have read from previous posts, that a solution would be to make a separate non-physics object with an animation and pin it to a physics object without an animation. This doesn't solve my problem because I need the collision box to change according to the animation frames. This means I still need physics on the object that has animation frames.

    This problem has stopped me from progressing for months now and I just can't move on without fixing it :(

    Solutions and ideas welcome. Thanks for reading.

    Leeow

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)