Component Physics
(NOTE) A relative velocity joint defines what the desired relative velocity on three world axes should be between two objects. Relative velocity is defined as v2 - v1. This joint has not been tested with motors or limits in any way.
| Methods | Properties | Base Classes | Derived Classes | 
|---|---|---|---|
| GetAxis | joint | ||
| GetAxisActive | |||
| GetMaxImpulse | |||
| GetSpeed | |||
| Constructor | |||
| SetAxis | |||
| SetAxisActive | |||
| SetMaxImpulse | |||
| SetSpeed | 
Properties
Methods
GetAxis : real3
One of 3 axes to constrain movement on. |Name|Type|Description| |---|---|---| |index|integer| |
function GetAxis(index : Integer) : Real3
GetAxisActive : boolean
Whether or not the given axis index is active. |Name|Type|Description| |---|---|---| |index|integer| |
function GetAxisActive(index : Integer) : Boolean
GetMaxImpulse : real
The max impulse for the given axis index. |Name|Type|Description| |---|---|---| |index|integer| |
function GetMaxImpulse(index : Integer) : Real
GetSpeed : real
The desired relative speed for the given axis index. |Name|Type|Description| |---|---|---| |index|integer| |
function GetSpeed(index : Integer) : Real
RelativeVelocityJoint : Void
constructor
Name Type Description function RelativeVelocityJoint()
SetAxis : Void
One of 3 axes to constrain movement on. |Name|Type|Description| |---|---|---| |index|integer| | |axis|real3| |
function SetAxis(index : Integer, axis : Real3)
SetAxisActive : Void
Whether or not the given axis index is active. |Name|Type|Description| |---|---|---| |index|integer| | |active|boolean| |
function SetAxisActive(index : Integer, active : Boolean)
SetMaxImpulse : Void
The max impulse for the given axis index. |Name|Type|Description| |---|---|---| |index|integer| | |maxImpulse|real| |
function SetMaxImpulse(index : Integer, maxImpulse : Real)
SetSpeed : Void
The desired relative speed for the given axis index. |Name|Type|Description| |---|---|---| |index|integer| | |speed|real| |
function SetSpeed(index : Integer, speed : Real)