|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VerletPhysics | |
---|---|
toxi.physics |
Uses of VerletPhysics in toxi.physics |
---|
Methods in toxi.physics that return VerletPhysics | |
---|---|
VerletPhysics |
VerletPhysics.addParticle(VerletParticle p)
Adds a particle to the list |
VerletPhysics |
VerletPhysics.addSpring(VerletSpring s)
Adds a spring connector |
VerletPhysics |
VerletPhysics.clear()
|
VerletPhysics |
VerletPhysics.setWorldBounds(toxi.geom.AABB world)
Sets bounding box |
VerletPhysics |
VerletPhysics.update()
Progresses the physics simulation by 1 time step and updates all forces and particle positions accordingly |
Methods in toxi.physics with parameters of type VerletPhysics | |
---|---|
java.util.List<VerletParticle> |
ParticlePath.createParticles(VerletPhysics physics,
int subDiv,
float step,
float mass)
Creates particles along the spline at the fixed interval given. |
Constructors in toxi.physics with parameters of type VerletPhysics | |
---|---|
ParticleString(VerletPhysics physics,
java.util.List<VerletParticle> plist,
float strength)
Takes a list of already created particles connects them into a continuous string using springs. |
|
ParticleString(VerletPhysics physics,
toxi.geom.Vec3D pos,
toxi.geom.Vec3D step,
int num,
float mass,
float strength)
Creates a number of particles along a line and connects them into a string using springs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |