struct D6JointDrive

Inherits: IReflectable

Specifies parameters for a drive that will attempt to move the joint bodies to the specified drive position and velocity.

Public

Methods

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Fields

Stiffness

float Stiffness

Spring strength.

Force proportional to the position error.

Damping

float Damping

Damping strength.

Force propertional to the velocity error.

ForceLimit

float ForceLimit

Maximum force the drive can apply.

Acceleration

bool 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.

Operators

operator==

bool operator==(const D6JointDrive &other) const