ObjectTemplate.SetPosition

From Pilot_51's Wiki
Revision as of 20:25, 17 November 2008 by 68.40.243.145 (talk) (New page: == MDT description == ''SetPosition'' sets the position of a child object attached to the current object with the AddTemplate command. This position is relative to the center of the parent...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MDT description

SetPosition sets the position of a child object attached to the current object with the AddTemplate command. This position is relative to the center of the parent object. If this property is omitted, the position is 0/0/0.

Imagine that you are sitting in the middle of the jeep facing forward. The first parameter, X, is the right and left movement. If you were to scoot to your right you would be moving positively in the X axis; move to your left, you would be moving negatively. The second parameter, Y, is your height off the ground. If you were to jump straight up, you would be moving positively in the Y axis. Finally, the third parameter, Z, is forward and reverse.
Source and more details

Additional Description