TelamonJoin Date: 2007-01-30 Post Count: 3614 |
Scripts: Erik has added a feature in the new release that will show the source of a LinkedScript - so you can copy it. You could see it as early as Monday.
Grip: The grip is the coordinate frame that specifies how the tool is held in the player's hand. Since we have no way to let people edit a CFrame in our property grid control, we created the 4 vectors: GripPos, GripUp, GripForward; GripRight (I think) which together specify a unique translation and relative orientation basis for the tool.
You can change the up/forward/right parts of the grip -- but if you specify a defective matrix, Bad Stuff happens. These vectors need to span R3 (be linearly independant).
For example:
(1, 0, 0), (0, 1, 0), (0, 0, 1) will work (spans R3)
(1, 0, 0), (1, 0, 0), (0, 0, 1) won't. (spans R2)
(1, 0, 0), (0, -2, 0), (0, 0, 3) will work
(1, 0, 0), (-2, 0, 0), (0, 0, 3) won't.
(1, 1, 0), (1, 0, 1), (0, 1, 1) will work (spans R3)
(1, 0, 0), (0, 0, 0), (0, 0, 0) won't. (spans R1)
Our code could handle these degenerate cases better, but this is not something we expect our users to mess with, so we've been focusing on other things.
Sorry for the complicated explanation - 3D stuff is complicated. |