Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
physicshingejoint.c
Go to the documentation of this file.
1
5
9typedef int[] PhysicsHingeJoint;
11{
20 proto external void SetLimits(float low, float high, float softness, float biasFactor, float relaxationFactor);
27 proto external void SetMotorTargetAngle(float angle, float dt, float maxImpulse);
34 proto external void SetMotor(bool enable, float targetVelocity, float maxImpulse);
39 proto external void SetAxis(vector axis);
40}
41
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 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.