Creating trailer behind a vehicle using GetVehicleRotationQuat
#2

Why would you need the X/Y rotation to put the trailer behind the vehicle? Surely you just need the Z (rotation)..? Also it doesn't matter AT ALL in what position you place the trailer; when it is attached it's no longer in that position, is it? Just create the trailer at the same position as the vehicle.

One thing to note is that only STREAMED-IN vehicles can be attached as trailers, so you may have to put the code under OnVehicleStreamIn(ForPlayer?).
Reply


Messages In This Thread
Creating trailer behind a vehicle using GetVehicleRotationQuat - by Misiur - 09.02.2013, 17:56
Re: Creating trailer behind a vehicle using GetVehicleRotationQuat - by MP2 - 09.02.2013, 18:11
Re: Creating trailer behind a vehicle using GetVehicleRotationQuat - by Misiur - 09.02.2013, 18:21

Forum Jump:


Users browsing this thread: 2 Guest(s)