Package toxi.physics3d.behaviors
Class GravityBehavior3D
java.lang.Object
toxi.physics3d.behaviors.ConstantForceBehavior3D
toxi.physics3d.behaviors.GravityBehavior3D
- All Implemented Interfaces:
ParticleBehavior3D
-
Constructor Summary
ConstructorDescriptionGravityBehavior3D
(Vec3D gravity) GravityBehavior3D
(Vec3D gravity, float timeStep) -
Method Summary
Methods inherited from class toxi.physics3d.behaviors.ConstantForceBehavior3D
apply, configure, getForce
-
Constructor Details
-
GravityBehavior3D
-
GravityBehavior3D
-
-
Method Details
-
setForce
- Overrides:
setForce
in classConstantForceBehavior3D
- Parameters:
force
- the force to set
-