Rotations With Quaternion
#2

You can just use something like
pawn Code:
SetVehicleZAngle(GetPlayerVehicleID(playerid),atan2(vx, vy));
// or
SetVehicleZAngle(GetPlayerVehicleID(playerid),360.0 - atan2(vx, vy));
Reply


Messages In This Thread
Rotations With Quaternion - by BlackAtom - 23.07.2012, 15:23
Re: Rotations With Quaternion - by Mauzen - 23.07.2012, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)