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.
|
|
SingleEntityLinearMotor ( ) : System |
Constructs a new single body linear motor. This motor will try to move a single entity to a goal velocity or to a goal position. This constructor will start the motor with isActive = false.
|
|
SingleEntityLinearMotor ( Entity entity, Vector3 point ) : System |
Constructs a new single body linear motor. This motor will try to move a single entity to a goal velocity or to a goal position.
|
|
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.
|
Method | Description | |
---|---|---|
ComputeMaxForces ( float maxForce, float dt ) : void |
Computes the maxForceDt and maxForceDtSquared fields.
|
public SingleEntityLinearMotor ( Entity entity, Vector3 point ) : System | ||
entity | Entity | Entity to affect. |
point | Vector3 | Point in world space attached to the entity that will be motorized. |
return | System |