|
proto external void | SetLinearLimits (float lowerLimit, float upperLimit) |
| Sets linear limits of the joint.
|
|
proto external float | GetLinearPos () |
| Returns value of the linear position.
|
|
proto external float | GetAngularPos () |
| Returns value of the angular position.
|
|
proto external void | SetAngularLimits (float lowerLimit, float upperLimit) |
| Sets angular limits of the joint.
|
|
proto external void | SetDirLinear (float softness, float restitution, float damping) |
| Sets parameters relevant for moving inside linear limits.
|
|
proto external void | SetDirAngular (float softness, float restitution, float damping) |
| Sets parameters relevant for moving inside angular limits.
|
|
proto external void | SetLimLinear (float softness, float restitution, float damping) |
| Sets parameters relevant for hitting linear limit.
|
|
proto external void | SetLimAngular (float softness, float restitution, float damping) |
| Sets parameters relevant for hitting angular limit.
|
|
proto external void | SetOrthoLinear (float softness, float restitution, float damping) |
| Sets parameters relevant for case (against constraint axis)
|
|
proto external void | SetOrthoAngular (float softness, float restitution, float damping) |
| Sets parameters relevant for case (against constraint axis)
|
|
proto external void | SetLinearMotor (float velocity, float force) |
| Allows motor to move slider at specific linear velocity.
|
|
proto external void | SetAngularMotor (float velocity, float force) |
| Allows motor to move slider at specific angular velocity.
|
|
proto external void | Destroy () |
| Destroys joint.
|
|
proto string | ToString () |
|
|
static proto PhysicsHingeJoint | CreateHinge (notnull IEntity ent1, IEntity ent2, vector point1, vector axis1, vector point2, vector axis2, bool disableCollisions, float breakThreshold=-1) |
| Creates hinge joint.
|
|
static proto PhysicsHingeJoint | CreateHinge2 (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| Creates hinge joint.
|
|
static proto PhysicsBallSocketJoint | CreateBallSocket (notnull IEntity ent1, IEntity ent2, vector point1, vector point2, bool disableCollisions, float breakThreshold=-1) |
| Creates ball socket joint.
|
|
static proto PhysicsFixedJoint | CreateFixed (notnull IEntity ent1, IEntity ent2, vector point1, vector point2, bool disableCollisions, float breakThreshold=-1) |
| Creates fixed joint.
|
|
static proto PhysicsConeTwistJoint | CreateConeTwist (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| Creates cone twist joint.
|
|
static proto PhysicsSliderJoint | CreateSlider (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| Creates slider joint.
|
|
static proto Physics6DOFJoint | Create6DOF (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| Creates 6 DOF joint.
|
|
static proto Physics6DOFSpringJoint | Create6DOFSpring (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| Creates DOF spring joint.
|
|