BindOrientated: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
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...
 
Fidcal (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
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 ==


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