Uses of Class
toxi.physics3d.VerletParticle3D
Packages that use VerletParticle3D
-
Uses of VerletParticle3D in toxi.physics3d
Fields in toxi.physics3d declared as VerletParticle3DModifier and TypeFieldDescriptionVerletSpring3D.a
Spring end points / particlesVerletSpring3D.b
Spring end points / particlesFields in toxi.physics3d with type parameters of type VerletParticle3DModifier and TypeFieldDescriptionParticleString3D.particles
VerletPhysics3D.particles
List of particles (Vec3D subclassed)Methods in toxi.physics3d that return VerletParticle3DModifier 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 againMethods in toxi.physics3d that return types with arguments of type VerletParticle3DModifier and TypeMethodDescriptionParticlePath3D.createParticles
(VerletPhysics3D physics, int subDiv, float step, float mass) Creates particles along the spline at the fixed interval given.Methods in toxi.physics3d with parameters of type VerletParticle3DModifier and TypeMethodDescriptionVerletPhysics3D.addParticle
(VerletParticle3D p) Adds a particle to the listboolean
VerletPhysics3D.removeParticle
(VerletParticle3D p) Removes a particle from the simulation.Method parameters in toxi.physics3d with type arguments of type VerletParticle3DModifier and TypeMethodDescriptionstatic void
VerletPhysics3D.addConstraintToAll
(ParticleConstraint3D c, List<VerletParticle3D> list) static void
VerletPhysics3D.removeConstraintFromAll
(ParticleConstraint3D c, List<VerletParticle3D> list) Constructors in toxi.physics3d with parameters of type VerletParticle3DModifierConstructorDescriptionVerletConstrainedSpring3D
(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) Constructor parameters in toxi.physics3d with type arguments of type VerletParticle3DModifierConstructorDescriptionParticleString3D
(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
Methods in toxi.physics3d.behaviors with parameters of type VerletParticle3DModifier 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
Methods in toxi.physics3d.constraints with parameters of type VerletParticle3DModifier 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)