View Single Post
Motor bike wheelie issue
Old
InstigatedApprentice
Junior Member
 
Status: Offline
Posts: 3
Join Date: Mar 2018
Default Motor bike wheelie issue - 03-08-2018, 01:29 PM

Hi everyone

So I'm creating a game in which there is a motorbike that is controlled using the arrow keys. Pressing spacebar causes the motorbike to do a wheelie. I have managed the wheelie part by starting an event when the spacebar is pressed to call a turn function which causes the motobike to tilt backwards.
Unfortunately, it seems that when the motorbike is tilted backwards, pressing the forwards key causes it to zoom off in whichever way the motorbike is facing, which in this instance would be upwards at a 45 degree angle.

Does anyone have any idea on how to stop this from happening?

Many thanks,

Adam
   
Reply With Quote