Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
ExclusiveUpdate ( ) : void | ||
MaximumAngularSpeedConstraint ( ) : System |
Constructs a maximum speed constraint. Set its Entity and MaximumSpeed to complete the configuration. IsActive also starts as false with this constructor.
|
|
MaximumAngularSpeedConstraint ( Entity e, float maxSpeed ) : System |
Constructs a maximum speed constraint.
|
|
SolveIteration ( ) : float |
Calculates and applies corrective impulses. Called automatically by space.
|
|
Update ( float dt ) : void |
Calculates necessary information for velocity solving. Called automatically by space.
|
public MaximumAngularSpeedConstraint ( ) : System | ||
Résultat | System |
public MaximumAngularSpeedConstraint ( Entity e, float maxSpeed ) : System | ||
e | Entity | Affected entity. |
maxSpeed | float | Maximum angular speed allowed. |
Résultat | System |
public Update ( float dt ) : void | ||
dt | float | Time in seconds since the last update. |
Résultat | void |