class
SphericalJoint
Inherits:
Joint
A spherical joint removes all translational degrees of freedom but allows all rotational degrees of freedom.
Essentially this ensures that the anchor points of the two bodies are always coincident. Bodies are allowed to rotate around the anchor points, and their rotation can be limited by an elliptical cone.
Public
Constructors
SphericalJoint
SphericalJoint(const HSceneObject &parent)
Methods
SetLimit
Determines the limit of the joint.
This clamps the rotation inside an eliptical angular cone. You must enable limit flag on the joint in order for this to be recognized.
GetLimit
LimitConeRange GetLimit() const
SetFlag
Enables or disables a flag that controls the joint's behaviour.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Internal
Methods
GetImplementation
ISphericalJointImplementation &GetImplementation() const
Returns the low level joint implementation.
Protected
Constructors
SphericalJoint
SphericalJoint()
Methods
CreateImplementation
UPtr<IJointImplementation> CreateImplementation() override
Creates the implementation the joint for use by the component.
Fields
mInformation
SphericalJointCreateInformation mInformation