Struct D6JointDrive
Specifies parameters for a drive that will attempt to move the joint bodies to the specified drive position and velocity.
Assembly: FlaxEngine.dll
File: Engine/Physics/Joints/D6Joint.h
Syntax
public struct D6JointDrive
Fields
Acceleration
If true the drive will generate acceleration instead of forces. Acceleration drives are easier to tune as they account for the masses of the actors to which the joint is attached.
Declaration
public bool Acceleration = false
Field Value
bool
|
Damping
Damping strength. Force proportional to the velocity error.
Declaration
public float Damping = 0.0f
Field Value
float
|
ForceLimit
The maximum force the drive can apply.
Declaration
public float ForceLimit = MAX_float
Field Value
float
|
Stiffness
The spring strength. Force proportional to the position error.
Declaration
public float Stiffness = 0.0f
Field Value
float
|
Methods
operator==(const D6JointDrive& other)
Declaration
public bool operator==(const D6JointDrive& other) const
Parameters
D6JointDrive
other
|
Returns
bool
|