![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| proto external void | SetAxis (vector axis) |
| Sets new axis of the hinge joint. | |
| proto external void | SetAxis (vector axis) |
| Sets new axis of the hinge joint. | |
| proto external void | SetLimits (float low, float high, float softness, float biasFactor, float relaxationFactor) |
| Sets various joint parameters. | |
| proto external void | SetLimits (float low, float high, float softness, float biasFactor, float relaxationFactor) |
| Sets various joint parameters. | |
| proto external void | SetMotor (bool enable, float targetVelocity, float maxImpulse) |
| Allows motor to move hinge at specific velocity. | |
| proto external void | SetMotor (bool enable, float targetVelocity, float maxImpulse) |
| Allows motor to move hinge at specific velocity. | |
| proto external void | SetMotorTargetAngle (float angle, float dt, float maxImpulse) |
| Allows motor to move hinge to specific angle. | |
| proto external void | SetMotorTargetAngle (float angle, float dt, float maxImpulse) |
| Allows motor to move hinge to specific angle. | |
Definition at line 10 of file physicshingejoint.c.
|
private |
Sets new axis of the hinge joint.
ent1 refers to one in PhysicsJoint.CreateHinge.
| axis | New joint axis in reference frame of ent1 |
|
private |
Sets new axis of the hinge joint.
ent1 refers to one in PhysicsJoint.CreateHinge.
| axis | New joint axis in reference frame of ent1 |
Allows motor to move hinge at specific velocity.
| enable | True to enable motor |
| targetVelocity | Target angular velocity motor tries to maintain |
| maxImpulse | Maximum impulse motor can overcome |
Allows motor to move hinge at specific velocity.
| enable | True to enable motor |
| targetVelocity | Target angular velocity motor tries to maintain |
| maxImpulse | Maximum impulse motor can overcome |
Allows motor to move hinge to specific angle.
Must be called continuously.
| angle | Target angle motor tries to reach |
| dt | Time fraction used in update |
| maxImpulse | Maximum impulse motor can overcome |
Allows motor to move hinge to specific angle.
Must be called continuously.
| angle | Target angle motor tries to reach |
| dt | Time fraction used in update |
| maxImpulse | Maximum impulse motor can overcome |