BindOrientated: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
 
Line 5: Line 5:
== Examples ==
== Examples ==


With bindOrientated 0, a shaft with its origin at one end attached to a rotating axle with [[bind]] will move up and down and back and forth like an old steam locomotive shaft attached to a drive wheel. With the default bindOrientated 1, the entire shaft would rotate around the axle like a spoke.
With bindOrientated 0, a shaft with its origin at one end attached to a rotating axle with [[bind]] will move up and down and back and forth almost like an old steam locomotive shaft attached to a drive wheel. With the default bindOrientated 1, the entire shaft would rotate around the axle like a spoke. Note that there is only one attachment point. If the shaft starts horizontal then it remains horizontal but moves around in a circular motion.


{{spawnargs}}
{{spawnargs}}

Latest revision as of 06:45, 25 April 2009

Description

The spawnarg bindOrientated if set at 0 causes the entity's origin (only) to rotate around a rotating entity if attached to it with bind instead of the entire entity which always remains pointing in one direction.

Examples

With bindOrientated 0, a shaft with its origin at one end attached to a rotating axle with bind will move up and down and back and forth almost like an old steam locomotive shaft attached to a drive wheel. With the default bindOrientated 1, the entire shaft would rotate around the axle like a spoke. Note that there is only one attachment point. If the shaft starts horizontal then it remains horizontal but moves around in a circular motion.