
5th June 2012
Post #1
April 2009
92 Posts
I'm having trouble setting angles and vectors for an attachment script I'm working on, and I can't seem to even manage to mix the order up to get it right.
I'm pretty much just asking for the order of the following.
Example:
attachmentOffsetAngles = Angle(PITCH?, YAW?, ROLL?);
attachmentOffsetVector = Vector(X?, Y?, Z?);

5th June 2012
Post #2
Gold Member
April 2009
4,453 Posts

6th June 2012
Post #3
April 2009
92 Posts
After more than enough trial and error, I found out that for some reason, the Y value had to be negative if it was positive, or visaversa, I was using PAC to record it, so that might have something to do with it? Anyway, I also found that I had to do it by Z Y X...