Hi as im aware many of you forum users know im trying to successfully replicate the physics behind a side scrolling motorbike, Which i have managed to do :).
But I need to be able to shift the weight of the player on top of the bike so he can successfully do a wheelie(Or if player is in the air, a Flip)
I need to know the best way of achieving this?
Here is what i have so far(Let me know if you need the capx)
global var Speed(2000)
System on start of layout -
BikeBody.create Physics revolutejoint(Backwheel(imagePoint1)
BikeBody.create Physics revolutejoint(FrontWheel(imagePoint2)
Up Arrow is down -
Backwheel.apply physics torque(Speed)
Down Arrow is down -
Backwheel.apply physics torque(-Speed)
Lefy Arrow is down - ????
Right Arrow is down - ???