BindOrientated: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(New page: == 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 e...)
 
Line 5: Line 5:
== Examples ==
== Examples ==


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 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.


{{spawnargs}}
{{spawnargs}}

Revision as of 06:31, 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.

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.