PhysicsAction
If you prefer a more technical reference, visit the NextText Javadoc.
|
Name |
PhysicsAction | |
|
Description |
Every Action in this package should be a descendant of this class. PhysicsAction introduces a new set of physics properties, and provide the usual accessors for them. Mass Velocity Force AngularVelocity AngularForce (Torque) Properties to add in the future include elasticity and mass. A method to get absolute velocity may also be useful. |
|
|
Usage |
TEST |
|
|
Constructor |
new PhysicsAction() |
|
|
Parameters |
to : acceleration : angAcc : angularForce : force : |
|
|
Methods |
applyAcceleration(TextObject to, processing.core.PVector acceleration) applyAngularAcceleration(TextObject to, float angAcc) applyAngularForce(TextObject to, float angularForce) applyForce(TextObject to, processing.core.PVector force) getAngularVelocity(TextObject to) getMass(TextObject to) getRequiredProperties() getVelocity(TextObject to) |
|
|
Related |
TEST | |

