Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
PhysicsConeTwistJoint Class Reference
Inheritance diagram for PhysicsConeTwistJoint:
PhysicsJoint PhysicsJoint

Private Member Functions

proto external void SetLimit (int limitIndex, float limitValue)
 Sets span values of limits.
proto external void SetLimit (int limitIndex, float limitValue)
 Sets span values of limits.
proto external void SetLimits (float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor)
 Sets various joint parameters.
proto external void SetLimits (float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor)
 Sets various joint parameters.

Detailed Description

Definition at line 10 of file physicsconetwistjoint.c.

Member Function Documentation

◆ SetLimit() [1/2]

proto external void SetLimit ( int limitIndex,
float limitValue )
private

Sets span values of limits.

Span represents range from -limit to limit.

Parameters
limitIndexIndex of the limit (3 - twist, 4 - swing2, 5 - swing1)
limitValueValue of the limit

◆ SetLimit() [2/2]

proto external void SetLimit ( int limitIndex,
float limitValue )
private

Sets span values of limits.

Span represents range from -limit to limit.

Parameters
limitIndexIndex of the limit (3 - twist, 4 - swing2, 5 - swing1)
limitValueValue of the limit

◆ SetLimits() [1/2]

proto external void SetLimits ( float swingSpan1,
float swingSpan2,
float twistSpan,
float softness,
float biasFactor,
float relaxationFactor )
private

Sets various joint parameters.

Span value represents range from -limit to limit.

Parameters
swingSpan1Value of the swing1 limit (along z-axis)
swingSpan2Value of the swing2 limit (along y-axis)
twistSpanValue of the twist limit (along x-axis)
softnessSoftness of the joint. See details
biasFactorBias factor of the joint. See details
relaxationFactorRelaxation factor of the joint. See details

◆ SetLimits() [2/2]

proto external void SetLimits ( float swingSpan1,
float swingSpan2,
float twistSpan,
float softness,
float biasFactor,
float relaxationFactor )
private

Sets various joint parameters.

Span value represents range from -limit to limit.

Parameters
swingSpan1Value of the swing1 limit (along z-axis)
swingSpan2Value of the swing2 limit (along y-axis)
twistSpanValue of the twist limit (along x-axis)
softnessSoftness of the joint. See details
biasFactorBias factor of the joint. See details
relaxationFactorRelaxation factor of the joint. See details

The documentation for this class was generated from the following file: