Jump to content

How to do a turning animation?


DudeshootMankill
 Share

Recommended Posts

If you use acceleration instead of controlling velocity you could play a turning animation while body.velocity.x>0 and body.acceleration.x<0 and vice versa. This will give the effect you see in SMB etc, if that's what you are looking for.

 

That is very much what i'm looking for. Thanks.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...