Class Joint
- Namespace
- Jitter2.Dynamics.Constraints
- Assembly
- Jitter2.dll
Base class for joints, which are composite constraints built from multiple Constraint instances.
public class Joint : IDebugDrawable
- Inheritance
-
Joint
- Implements
- Derived
- Inherited Members
Properties
Constraints
public ReadOnlyList<Constraint> Constraints { get; }
Property Value
Methods
DebugDraw(IDebugDrawer)
Passes an IDebugDrawer to draw basic debug information for the object.
public virtual void DebugDraw(IDebugDrawer drawer)
Parameters
drawerIDebugDrawerThe debug drawer used for rendering debug information.
Deregister(Constraint)
Remove a constraint from the internal bookkeeping
protected void Deregister(Constraint constraint)
Parameters
constraintConstraint
Disable()
Disables all constraints that this joint is composed of temporarily. For a complete removal use Remove().
public void Disable()
Enable()
Enables all constraints that this joint is composed of.
public void Enable()
Register(Constraint)
Add a constraint to the internal bookkeeping
protected void Register(Constraint constraint)
Parameters
constraintConstraint
Remove()
Removes all constraints that this joint is composed of from the physics world.
public void Remove()