DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
PhysicsConeTwistJoint Class Reference

Private Member Functions

proto external void SetLimit (int limitIndex, float limitValue)
 
proto external void SetLimits (float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor)
 
proto external void SetLimit (int limitIndex, float limitValue)
 
proto external void SetLimits (float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor)
 

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: