class
IJointImplementation
Low-level interface for a joint used by the Joint component.
Should be implemented by the physics plugin to provide joint functionality.
Public
Methods
~IJointImplementation
virtual ~IJointImplementation() noexcept = default
SetBody
Determines a body managed by the joint.
One of the bodies must be movable (non-kinematic).
GetPosition
GetRotation
SetTransform
SetBreakForce
virtual void SetBreakForce(float force) = 0
Determines the maximum force the joint can apply before breaking.
Broken joints no longer participate in physics simulation.
GetBreakForce
virtual float GetBreakForce() const = 0
SetBreakTorque
virtual void SetBreakTorque(float torque) = 0
Determines the maximum torque the joint can apply before breaking.
Broken joints no longer participate in physics simulation.
GetBreakTorque
virtual float GetBreakTorque() const = 0
SetEnableCollision
virtual void SetEnableCollision(bool value) = 0
Determines whether collision between the two bodies managed by the joint are enabled.
GetEnableCollision
virtual bool GetEnableCollision() const = 0