Turning XYZ to up, down, left/right (cruise control)
#5

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
That should help you a little, when they press a key, SetVehicleFacingAngel or something to +10 or something.
I didnt let it change the Z angle if you look good at the code. So i am free to rotate already! only when the car's rotation turns left it just keep "drifting" straight forward.


In gta you have angles, X (north/south), Y (east/west) and Z (height)
The car just keeps driving towards the coordinates where it was saved by enabling the cruise control.

I need to let it re-calculate that if you turn, so you just keep your speed and are free to move.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)