Class ConstraintComponent<T>
- Namespace
- Stride.BepuPhysics.Constraints
- Assembly
- Stride.BepuPhysics.dll
public abstract class ConstraintComponent<T> : ConstraintComponentBase, IIdentifiable where T : unmanaged, IConstraintDescription<T>
Type Parameters
T
- Inheritance
-
ConstraintComponent<T>
- Implements
- Derived
- Inherited Members
Constructors
ConstraintComponent(int)
protected ConstraintComponent(int bodies)
Parameters
bodies
int
Properties
Attached
Whether this constraint is in a valid state and actively constraining its targets.
public override bool Attached { get; }
Property Value
Remarks
May not be attached if it is not in a scene, when not Enabled, when any of its target is null, not in a scene or in a different simulation
Methods
BodiesChanged()
protected override void BodiesChanged()