class
HingeJoint
Inherits:
Joint
Hinge joint removes all but a single rotation degree of freedom from its two attached bodies (for example a door hinge).
Public
Constructors
HingeJoint
HingeJoint(const HSceneObject &parent)
Methods
GetAngle
Radian GetAngle() const
Returns the current angle between the two attached bodes.
GetSpeed
float GetSpeed() const
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
LimitAngularRange GetLimit() const
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
HingeJointDrive GetDrive() const
SetFlag
Enables or disables a flag that controls joint behaviour.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Internal
Methods
GetImplementation
IHingeJointImplementation &GetImplementation() const
Returns the low level joint implementation.
Protected
Constructors
HingeJoint
HingeJoint()
Methods
CreateImplementation
UPtr<IJointImplementation> CreateImplementation() override
Creates the implementation the joint for use by the component.
Fields
mInformation
HingeJointCreateInformation mInformation