class ISliderJointImplementation

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

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

Public

Methods

GetPosition

virtual float GetPosition() const = 0

Returns the current position of the slider.

GetSpeed

virtual float GetSpeed() const = 0

Returns the current speed of the slider.

SetLimit

virtual void SetLimit(const LimitLinearRange &limit) = 0

Determines a limit that constrains the movement of the joint to a specific minimum and maximum distance.

You must enable the limit flag on the joint in order for this to be recognized.

GetLimit

virtual LimitLinearRange GetLimit() const = 0

SetFlag

virtual void SetFlag(SliderJointFlag flag, bool enabled) = 0

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

HasFlag

virtual bool HasFlag(SliderJointFlag flag) const = 0

Checks is the specified flag enabled.