TrapMoveRelative

Move and apply velocity to an object relative to its current position.

Works similarly to a teleport trap. Instead of a reference object, you specify the position and rotation to move directly. The values you give will be added to the current position, rotation, and velocity of the object. Coordinates that you don’t specify are left as-is.

An object with a Physics\Model\Type of None cannot have velocity.

Inherits GenericControl
Links ControlDevice
Parameters x,y,z (number) Add to the position.
dx,dy,dz (number) Add to the velocity.
h,p,b (number) Rotate the object.
dh,dp,db (number) Add to rotational velocity.
rotate_axes Add position relative to the rotated axes of the object.

Discussion




Enter your comment:
If you can't read the letters on the image, download this .wav file to get them read to you.

 
  tnhscript/trapmoverelative.txt · Last modified: 2009/02/26 18:51 by telliamed
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki