Méthode | Description | |
---|---|---|
ExclusiveUpdate ( ) : void |
Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.
|
|
OnAdditionToSpace ( ISpace newSpace ) : void |
Called after the object is added to a space.
|
|
OnRemovalFromSpace ( ISpace oldSpace ) : void |
Called before an object is removed from its space.
|
|
SolveIteration ( ) : float |
Computes one iteration of the constraint to meet the solver updateable's goal.
|
|
Update ( float dt ) : void |
Performs the frame's configuration step.
|
|
UpdateSolverActivity ( ) : void |
Sets the activity state of the constraint based on the activity state of its connections. Called automatically by the space owning a constaint. If a constraint is a sub-constraint that hasn't been directly added to the space, this may need to be called alongside the preStep from within the parent constraint.
|
Méthode | Description | |
---|---|---|
Add ( EntitySolverUpdateable solverUpdateable ) : void |
Adds a solver updateable to the group.
|
|
CollectInvolvedEntities ( RawList |
Collects the entities which are affected by the solver group and updates the internal listing.
|
|
ExclusiveUpdateUpdateable ( EntitySolverUpdateable item ) : void | ||
Remove ( EntitySolverUpdateable solverUpdateable ) : void |
Removes a solver updateable from the group.
|
|
SolveUpdateable ( EntitySolverUpdateable item, int &activeConstraints ) : void |
Solves a child updateable. Some children may override the group's update method; this avoids code repeat.
|
|
UpdateUpdateable ( EntitySolverUpdateable item, float dt ) : void |
protected Add ( EntitySolverUpdateable solverUpdateable ) : void | ||
solverUpdateable | EntitySolverUpdateable | Solver updateable to add. |
Résultat | void |
protected CollectInvolvedEntities ( RawList |
||
outputInvolvedEntities | RawList |
|
Résultat | void |
protected ExclusiveUpdateUpdateable ( EntitySolverUpdateable item ) : void | ||
item | EntitySolverUpdateable | |
Résultat | void |
public OnAdditionToSpace ( ISpace newSpace ) : void | ||
newSpace | ISpace | |
Résultat | void |
public OnRemovalFromSpace ( ISpace oldSpace ) : void | ||
oldSpace | ISpace | |
Résultat | void |
protected Remove ( EntitySolverUpdateable solverUpdateable ) : void | ||
solverUpdateable | EntitySolverUpdateable | Solver updateable to remove. |
Résultat | void |
protected SolveUpdateable ( EntitySolverUpdateable item, int &activeConstraints ) : void | ||
item | EntitySolverUpdateable | |
activeConstraints | int | |
Résultat | void |
protected UpdateUpdateable ( EntitySolverUpdateable item, float dt ) : void | ||
item | EntitySolverUpdateable | |
dt | float | |
Résultat | void |