Angle Issues: Setting a attached object on a vehicle to face a vehicle
#2

Sure, try this:
pawn Code:
new
    Float: fAZ
;
GetVehicleZAngle(vehicleid, fAZ);
atan2(y - DestY, x - DestX) - fAZ - 180.0;
Reply


Messages In This Thread
Angle Issues: Setting a attached object on a vehicle to face a vehicle - by Kar - 10.07.2012, 05:50
Re: Angle Issues: Setting a attached object on a vehicle to face a vehicle - by RyDeR` - 10.07.2012, 20:39
Re: Angle Issues: Setting a attached object on a vehicle to face a vehicle - by Kar - 11.07.2012, 00:37

Forum Jump:


Users browsing this thread: 1 Guest(s)