class
IHingeJointImplementation
Inherits:
IJointImplementation
Low-level interface for a joint used by the HingeJoint component.
Should be implemented by the physics plugin to provide joint functionality.
Public
Methods
GetAngle
virtual Radian GetAngle() const = 0
Returns the current angle between the two attached bodes.
GetSpeed
virtual float GetSpeed() const = 0
Returns the current angular speed of the joint.
SetLimit
Determines the limit of the joint.
Limit constrains the motion to the specified angle range. You must enable the limit flag on the joint in order for this to be recognized.
GetLimit
SetDrive
Determines the drive properties of the joint.
It drives the joint's angular velocity towards a particular value. You must enable the drive flag on the joint in order for the drive to be active.
GetDrive
SetFlag
Enables or disables a flag that controls joint behaviour.