Uses of Class
toxi.physics3d.VerletPhysics3D
Packages that use VerletPhysics3D
-
Uses of VerletPhysics3D in toxi.physics3d
Methods in toxi.physics3d that return VerletPhysics3DModifier and TypeMethodDescriptionVerletPhysics3D.addParticle(VerletParticle3D p) Adds a particle to the listVerletPhysics3D.addSpring(VerletSpring3D s) Adds a spring connectorVerletPhysics3D.clear()VerletPhysics3D.setWorldBounds(AABB world) Sets bounding boxVerletPhysics3D.update()Progresses the physics simulation by 1 time step and updates all forces and particle positions accordinglyMethods in toxi.physics3d with parameters of type VerletPhysics3DModifier and TypeMethodDescriptionParticlePath3D.createParticles(VerletPhysics3D physics, int subDiv, float step, float mass) Creates particles along the spline at the fixed interval given.Constructors in toxi.physics3d with parameters of type VerletPhysics3DModifierConstructorDescriptionParticleString3D(VerletPhysics3D physics, List<VerletParticle3D> plist, float strength) Takes a list of already created particles connects them into a continuous string using springs.ParticleString3D(VerletPhysics3D physics, Vec3D pos, Vec3D step, int num, float mass, float strength) Creates a number of particles along a line and connects them into a string using springs.