09.02.2013, 18:11
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?).
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?).