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

Private Member Functions

proto external void SetSpring (int axis, float stiffness, float damping)
 Sets spring parameters on a particular axis.
proto external void SetSpring (int axis, float stiffness, float damping)
 Sets spring parameters on a particular axis.

Detailed Description

Definition at line 10 of file physics6dofspringjoint.c.

Member Function Documentation

◆ SetSpring() [1/2]

proto external void SetSpring ( int axis,
float stiffness,
float damping )
private

Sets spring parameters on a particular axis.

When stiffness == -1 && damping == -1, spring is disabled.

Parameters
axisAxis to be modified
stiffnessValue of the spring stiffness (Hooke's Law)
dampingValue of the spring damping. Between 0 and 1 (1 == no damping)

◆ SetSpring() [2/2]

proto external void SetSpring ( int axis,
float stiffness,
float damping )
private

Sets spring parameters on a particular axis.

When stiffness == -1 && damping == -1, spring is disabled.

Parameters
axisAxis to be modified
stiffnessValue of the spring stiffness (Hooke's Law)
dampingValue of the spring damping. Between 0 and 1 (1 == no damping)

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