Uses of Class
toxi.physics3d.VerletParticle3D
-
Uses of VerletParticle3D in toxi.physics3d
Modifier and TypeFieldDescriptionVerletSpring3D.a
Spring end points / particlesVerletSpring3D.b
Spring end points / particlesModifier and TypeFieldDescriptionParticleString3D.particles
VerletPhysics3D.particles
List of particles (Vec3D subclassed)Modifier and TypeMethodDescriptionVerletParticle3D.addBehavior
(ParticleBehavior3D behavior) VerletParticle3D.addBehavior
(ParticleBehavior3D behavior, float timeStep) VerletParticle3D.addConstraint
(ParticleConstraint3D c) Adds the given constraint implementation to the list of constraints applied to this particle at each time step.VerletParticle3D.addVelocity
(Vec3D v) VerletParticle3D.clearConstraints()
Removes any currently applied constraints from this particle.VerletParticle3D.clearForce()
VerletParticle3D.clearVelocity()
ParticleString3D.getHead()
Returns the first particle of the string.ParticleString3D.getTail()
Returns last particle of the string.VerletParticle3D.lock()
Locks/immobilizes particle in spaceVerletParticle3D.scaleVelocity
(float scl) VerletParticle3D.setPreviousPosition
(Vec3D p) VerletParticle3D.unlock()
Unlocks particle againModifier and TypeMethodDescriptionParticlePath3D.createParticles
(VerletPhysics3D physics, int subDiv, float step, float mass) Creates particles along the spline at the fixed interval given.Modifier and TypeMethodDescriptionVerletPhysics3D.addParticle
(VerletParticle3D p) Adds a particle to the listboolean
VerletPhysics3D.removeParticle
(VerletParticle3D p) Removes a particle from the simulation.Modifier and TypeMethodDescriptionstatic void
VerletPhysics3D.addConstraintToAll
(ParticleConstraint3D c, List<VerletParticle3D> list) static void
VerletPhysics3D.removeConstraintFromAll
(ParticleConstraint3D c, List<VerletParticle3D> list) ModifierConstructorDescriptionVerletConstrainedSpring3D
(VerletParticle3D a, VerletParticle3D b, float len, float str) VerletConstrainedSpring3D
(VerletParticle3D a, VerletParticle3D b, float len, float str, float limit) VerletMinDistanceSpring3D
(VerletParticle3D a, VerletParticle3D b, float len, float str) Creates a copy of the passed in particleVerletSpring3D
(VerletParticle3D a, VerletParticle3D b, float len, float str) ModifierConstructorDescriptionParticleString3D
(VerletPhysics3D physics, List<VerletParticle3D> plist, float strength) Takes a list of already created particles connects them into a continuous string using springs. -
Uses of VerletParticle3D in toxi.physics3d.behaviors
Modifier and TypeMethodDescriptionvoid
AttractionBehavior3D.apply
(VerletParticle3D p) void
ConstantForceBehavior3D.apply
(VerletParticle3D p) void
ParticleBehavior3D.apply
(VerletParticle3D p) Applies the constraint to the passed in particle. -
Uses of VerletParticle3D in toxi.physics3d.constraints
Modifier and TypeMethodDescriptionvoid
AxisConstraint.apply
(VerletParticle3D p) void
BoxConstraint.apply
(VerletParticle3D p) void
CylinderConstraint.apply
(VerletParticle3D p) void
MaxConstraint.apply
(VerletParticle3D p) void
MinConstraint.apply
(VerletParticle3D p) void
ParticleConstraint3D.apply
(VerletParticle3D p) Applies the constraint to the passed in particle.void
PlaneConstraint.apply
(VerletParticle3D p) void
SoftBoxConstraint.apply
(VerletParticle3D p) void
SphereConstraint.apply
(VerletParticle3D p)