Bind: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
Fidcal (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
Unbinding objects can happen through player action (f.i. frobbing an arrow unbinds the arrow).
Unbinding objects can happen through player action (f.i. frobbing an arrow unbinds the arrow).


See also [[BindOrientated]]
See also [[bindOrientated]], [[bindToJoint]]


{{spawnargs}}
{{spawnargs}}

Latest revision as of 06:55, 25 April 2009

Description

The spawnarg bind binds the named entity to this entity.

The bound entity is called "slave", while the entity it is bound to is usually called "bindmaster".

Binding that the relative position of the slave to the master will stay the same. Forces that act on either the slave or the master are relayed to the other entity, making them act as if they were one unit.

Examples

Entities can be bound at runtime (f.i. an arrow that hits an object is bound to it automatically), or at map compile time (f.i. door handles are bound to their door).

Unbinding objects can happen through player action (f.i. frobbing an arrow unbinds the arrow).

See also bindOrientated, bindToJoint