Method | 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.
|
|
SingleEntityAngularMotor ( ) : System |
Constructs a new constraint which attempts to restrict the relative angular velocity of two entities to some value. This constructor will make the angular motor start with isActive set to false.
|
|
SingleEntityAngularMotor ( Entity entity ) : System |
Constructs a new constraint which attempts to restrict the relative angular velocity of two entities to some value.
|
|
SolveIteration ( ) : float |
Applies the corrective impulses required by the constraint.
|
|
Update ( float dt ) : void |
Initializes the constraint for the current frame.
|
Method | Description | |
---|---|---|
ComputeMaxForces ( float maxForce, float dt ) : void |
Computes the maxForceDt and maxForceDtSquared fields.
|
public SingleEntityAngularMotor ( Entity entity ) : System | ||
entity | Entity | Affected entity. |
return | System |