|
| ObiPinConstraintsBatch (ObiPinConstraintsData constraints=null) |
|
void | AddConstraint (int solverIndex, ObiColliderBase body, Vector3 offset, Quaternion restDarboux, float linearCompliance, float rotationalCompliance, float breakThreshold) |
|
override void | Clear () |
|
override void | GetParticlesInvolved (int index, List< int > particles) |
|
override void | Merge (ObiActor actor, IObiConstraintsBatch other) |
|
override void | AddToSolver (ObiSolver solver) |
|
override void | RemoveFromSolver (ObiSolver solver) |
|
int | GetConstraintIndex (int constraintId) |
|
bool | IsConstraintActive (int index) |
|
bool | ActivateConstraint (int constraintIndex) |
|
bool | DeactivateConstraint (int constraintIndex) |
|
void | DeactivateAllConstraints () |
|
void | RemoveConstraint (int constraintIndex) |
|
void | ParticlesSwapped (int index, int newIndex) |
|
|
IPinConstraintsBatchImpl | m_BatchImpl |
|
List< int > | m_IDs = new List<int>() |
|
List< int > | m_IDToIndex = new List<int>() |
|
int | m_ConstraintCount = 0 |
|
int | m_ActiveConstraintCount = 0 |
|
int | m_InitialActiveConstraintCount = 0 |
|
|
override Oni.ConstraintType | constraintType [get] |
|
override IConstraintsBatchImpl | implementation [get] |
|
int | constraintCount [get] |
|
int | activeConstraintCount [get, set] |
|
virtual int | initialActiveConstraintCount [get, set] |
|
abstract Oni.ConstraintType | constraintType [get] |
|
abstract IConstraintsBatchImpl | implementation [get] |
|
int | constraintCount [get] |
|
int | activeConstraintCount [get, set] |
|
int | initialActiveConstraintCount [get, set] |
|
Oni.ConstraintType | constraintType [get] |
|
IConstraintsBatchImpl | implementation [get] |
|
One float per constraint: break threshold.
index of the pinned collider in the collider world.
Pin position expressed in the attachment's local space.
for each constraint, handle of the pinned collider.
Rest Darboux vector for each constraint.
Compliances of pin constraits. 2 float per constraint (positional and rotational compliance).
The documentation for this class was generated from the following file:
- Assets/Obi/Scripts/Common/Blueprints/Constraints/Batches/ObiPinConstraintsBatch.cs