Table of Contents

Component Physics

(NOTE) A joint that models a wheel with shocks. A wheel aligns the two local axes together and allows free rotation about this axis. The specified shock axis is turned into a soft constraint to model the shocks. Note: ObjectA should be the root object as the shock axis rotates with this object. If ObjectA is the wheel, then the shock axis will rotate with the wheel, causing the shocks to not stay aligned. Add on definitions: Limit: A limit will provide a min/max angle on the motor axis. Motor: A motor will turn the objects about the motor axis. Spring: A spring will make the shock axis springy. A spring is attached by default to a wheel.

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

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

ShockAxis : real3

The shock axis in the local space of body A.

var ShockAxis : 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

WorldShockAxis : real3

The shock axis after it has been translated into world space.

var WorldShockAxis : Real3

Methods


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)

WheelJoint : Void

constructor

Name Type Description
function WheelJoint()