Hi, first time here & Box2D newbie!
Apologies if this has been covered before but I had a look through and couldn't quite find a good answer!
Basically I have a Hero running around and I need to make some moving platforms for him to jump between. I am currently only tweening my platforms back and forth not using SetLinearVelocity or anything (as I was originally using static bodies) and have set the platform body type to Kinematic. When my Hero lands on the platform however, either the platform stops under him or (by changing some of the values) it just keeps moving and the Hero falls off!
Is there a good way to make the Hero follow the platform whilst retaining his ability to run and jump as if he were on the ground?
Thanks in advance for any help, much appreciated!
Apologies if this has been covered before but I had a look through and couldn't quite find a good answer!
Basically I have a Hero running around and I need to make some moving platforms for him to jump between. I am currently only tweening my platforms back and forth not using SetLinearVelocity or anything (as I was originally using static bodies) and have set the platform body type to Kinematic. When my Hero lands on the platform however, either the platform stops under him or (by changing some of the values) it just keeps moving and the Hero falls off!
Is there a good way to make the Hero follow the platform whilst retaining his ability to run and jump as if he were on the ground?
Thanks in advance for any help, much appreciated!