PhysAttach

Link Set-up Info
From A sub-object
To A base-object
Data X, Y, Z

Connects one object to another. Think of the ‘base-object’ as the one that’s in control, and the ‘sub-object’ does what it’s told.
Whatever happens to the base object, the sub object will always maintain the the rotation values assigned to it in Dromed.
The link Data values can be used to offset the object. The default values of 0,0,0 will place the centre of the sub-object at the centre of the base-object.
The units are standard Dromed units, and are independent of the orientation of the base-object. To put it another way, the X value always determines the north/south offset, Y always determines east/west, and Z always determines up/down.

  • The base-object must have an OBB physics model (e.g. doors, tables etc, but not crates, VineDecals etc)
  • If it is possible to frob the sub-object, allowing the player to collide with it will make it un-frobable.
  • If the player is able to pick up the sub object, and it is dropped, it will remain in the location where it was dropped, and will still move relative to the base-object. Telliamed’s UnlinkOnContained script should be useful in that case.
 
  dromed/link/physattach.txt · Last modified: 2007/06/26 15:42 (external edit)
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki