class ISphericalJointImplementation

Low-level interface for a joint used by the SphericalJoint component.

Should be implemented by the physics plugin to provide joint functionality.

Public

Methods

SetLimit

virtual void SetLimit(const LimitConeRange &limit) = 0

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

virtual LimitConeRange GetLimit() const = 0

SetFlag

virtual void SetFlag(SphericalJointFlag flag, bool isEnabled) = 0

Enables or disables a flag that controls the joint's behaviour.

HasFlag

virtual bool HasFlag(SphericalJointFlag flag) const = 0

Checks is the specified flag enabled.