Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
physicshingejoint.c
Go to the documentation of this file.
1
5
9
typedef
int
[]
PhysicsHingeJoint
;
10
class
PhysicsHingeJoint
:
PhysicsJoint
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
PhysicsHingeJoint
Definition
physicshingejoint.c:11
PhysicsHingeJoint::SetAxis
proto external void SetAxis(vector axis)
Sets new axis of the hinge joint.
PhysicsHingeJoint::SetLimits
proto external void SetLimits(float low, float high, float softness, float biasFactor, float relaxationFactor)
Sets various joint parameters.
PhysicsHingeJoint::SetMotor
proto external void SetMotor(bool enable, float targetVelocity, float maxImpulse)
Allows motor to move hinge at specific velocity.
PhysicsHingeJoint::SetMotorTargetAngle
proto external void SetMotorTargetAngle(float angle, float dt, float maxImpulse)
Allows motor to move hinge to specific angle.
PhysicsJoint
Definition
physicsjoint.c:23
vector
Definition
enconvert.c:119
Games
Dayz
scripts
1_core
physics
physicshingejoint.c
Generated by
1.17.0