Table of Contents

Component Physics

(NOTE) A prismatic joint sometimes called a slider) is used to create something similar to a piston. This joint fixes all degrees of rotation and leaves one linear axis free. Therefore, the bodies will rotate with each other and move with each other, except for one axis where they can move freely. Add on definitions: Limit: A limit will provide a min/max translational distance for the two objects on the slider axis. Motor: A motor will push/pull the objects on the slider axis. Spring: A spring will make the slider axis springy at its limits.

Methods Properties Base Classes Derived Classes
Constructor LocalAxisA joint
SetWorldPoints LocalAxisB
LocalBasisA
LocalBasisB
LocalPointA
LocalPointB
WorldAxis
WorldPointA
WorldPointB

Properties


LocalAxisA : real3

The locally defined axis on object A .

var LocalAxisA : Real3

LocalAxisB : real3

The locally defined axis on object B .

var LocalAxisB : Real3

LocalBasisA : quaternion

The local space reference frame of object A . This frame is transformed to world space and then aligned with object B s frame .

var LocalBasisA : Quaternion

LocalBasisB : quaternion

The local space reference frame of object B . This frame is transformed to world space and then aligned with object A s frame .

var LocalBasisB : Quaternion

LocalPointA : real3

The local point of the anchor on object A .

var LocalPointA : Real3

LocalPointB : real3

The local point of the anchor on object B .

var LocalPointB : Real3

WorldAxis : real3

The axis in world space that is being rotated about .

var WorldAxis : Real3

WorldPointA : real3

The position of the anchor on object A given a position in world space

var WorldPointA : Real3

WorldPointB : real3

The position of the anchor on object B given a position in world space

var WorldPointB : Real3

Methods


PrismaticJoint : Void

constructor

Name Type Description
function PrismaticJoint()

SetWorldPoints : Void

Sets the position of the anchor on object A and B given a position in world space |Name|Type|Description| |---|---|---| |point|real3| |

function SetWorldPoints(point : Real3)