Is it possible to animate a sprite that has a physics behavior?
I want to animate the sprite when the force is applied (jump)
And when the character is Falling.
I have tried adding the platform behavior but I dont think they would work together.
Is there a way to do it?
Have you done the platformer tutorial yet?
It is possible, just follow the tutorial
Develop games in your browser. Powerful, performant & highly capable.
Yes but I am using the physics behavior to control the character.
Just wondering if it was possible to control the animation when using this behavior (like the platform behavior has the Is falling condition)
Or if I have to change all my code to use the platform behavior)
Nope , it's possible , Just check out the Physics tutorial ...
I have been checking physics tutorials and haven't come across any that mention animations. Could you tell me which one you are referring to?