Joint3D
Type | Name | Interface Description |
---|---|---|
Variables | anchor : Vector3f | Fixed Point |
Example
joint.anchor = new APJS.Vector3f(1, 0, 0);
Type | Name | Interface Description |
---|---|---|
Variables | connectedAnchor : Vector3f | Connecting Object Fixed Point |
Example
joint.connectedAnchor = new APJS.Vector3f(0, 1, 0);
Type | Name | Interface Description |
---|---|---|
Variables | breakingForce : number | Breaking force (joint breaks after internal force exceeds this value) |
Example
joint.breakingForce = 1.0;
Type | Name | Interface Description |
---|---|---|
Variables | breakingTorque : number | Breaking torque (the joint breaks when the internal torque exceeds this value) |
Example
joint.breakingTorque = 2.0;