BindOrientated: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
Line 1: | Line 1: | ||
== Description == | == 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. | 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 == | == Examples == |
Revision as of 06:42, 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 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.