|
| ObiPinholeConstraintsBatch (ObiPinholeConstraintsData constraints=null) |
|
void | AddConstraint (PinholeEdge edge, PinholeEdge firstEdge, PinholeEdge lastEdge, ObiActor actor, ObiColliderBase body, Vector3 offset, float compliance, float friction, float motorSpeed, float motorForce, bool clampAtEnds) |
|
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 | ActivateAllConstraints () |
|
void | RemoveConstraint (int constraintIndex) |
|
void | ParticlesSwapped (int index, int newIndex) |
|
|
IPinholeConstraintsBatchImpl | 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] |
|
index of the pinned collider in the collider world.
Min/max cooridnate in each of the first and last edges as 2 floats for each constraint.
Edge range as 2 ints (first edge, last edge) for each constraint.
Pinhole position expressed in the attachment's local space.
Parameters of pinhole constraints. 5 floats per constraint (compliance, friction, motor speed, motor force and normalized coordinate along edge).
for each constraint, reference to the actor pinned.
for each constraint, handle of the pinned collider.
Relative velocities between rope and pinhole.
The documentation for this class was generated from the following file:
- Assets/Obi/Scripts/Common/Blueprints/Constraints/Batches/ObiPinholeConstraintsBatch.cs