Uses of Interface
toxi.physics2d.constraints.ParticleConstraint2D
-
Uses of ParticleConstraint2D in toxi.physics2d
Modifier and TypeFieldDescriptionVerletParticle2D.constraints
An optional particle constraints, called immediately after a particle is updated (and only used if particle is unlocked (default)final List<ParticleConstraint2D>
VerletPhysics2D.constraints
Modifier and TypeMethodDescriptionVerletParticle2D.addConstraint
(ParticleConstraint2D c) Adds the given constraint implementation to the list of constraints applied to this particle at each time step.void
VerletPhysics2D.addConstraint
(ParticleConstraint2D constraint) static void
VerletPhysics2D.addConstraintToAll
(ParticleConstraint2D c, List<VerletParticle2D> list) boolean
VerletParticle2D.removeConstraint
(ParticleConstraint2D c) Attempts to remove the given constraint instance from the list of active constraints.boolean
VerletPhysics2D.removeConstraint
(ParticleConstraint2D c) static void
VerletPhysics2D.removeConstraintFromAll
(ParticleConstraint2D c, List<VerletParticle2D> list) Modifier and TypeMethodDescriptionVerletParticle2D.addConstraints
(Collection<ParticleConstraint2D> constraints) boolean
VerletParticle2D.removeConstraints
(Collection<ParticleConstraint2D> constraints) -
Uses of ParticleConstraint2D in toxi.physics2d.constraints
Modifier and TypeClassDescriptionclass
class
Constrains a particle's movement by locking a given axis to a fixed value.class
class
class
class
class