BindOrientated

From The DarkMod Wiki
Revision as of 06:45, 25 April 2009 by Fidcal (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.