Sun Apr 06, 2003 5:03 am by johndmes
CW:
In your message you said,
"It seems to me that there are 2 coordinate systems involved here, with the weapons having a different set of x,y,z definitions, and this orientation matrix refers the weapon's coordinate frame to the ship's body frame. I don't understand why they did it this way, since having a seperate frame for the weapons and using a 3x3 matrix to describe the orientation alone seems rather redundant to me"
If you watch the weapons on the standard ships, the weapons to not all traverse the same. Could it be that the three sets of coordinates specify how the hardpoint (not the weapon, but the hardpoint) can rotate in relation to the Axis of the hardpoint?
Example:
Hardpoint is next to the hull, and the Axis for the hardpoint defines the default centerline for the hardpoint as an x,y,z coordinate relative to the portion of the ship it's mounted on. Given that (and using a coordinate system of -1 (90 deg counterclockwise of center), 0 (dead center as defined by Axis), 1 (90 degrees clockwise of center), then you'd have
X: -1,0, .50 - which would stop gun traverse in the X Axis at 45 degrees from Axis (to allow for the hull being in the way),
Y: -.50, 0 ,1 - to stop traverse in the negative area (so we don't shoot through the wing)
Z:0, 0, 0, - since it's a gun at a fixed location, no Z traverse needed.
Just a thought...