메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
ComputeMaxForces ( float maxForce, float dt ) : void |
Computes the maxForceDt and maxForceDtSquared fields.
|
public SingleEntityAngularMotor ( Entity entity ) : System | ||
entity | Entity | Affected entity. |
리턴 | System |