Package toxi.physics3d
Class VerletConstrainedSpring3D
java.lang.Object
toxi.physics3d.VerletSpring3D
toxi.physics3d.VerletConstrainedSpring3D
Implements a spring whose maximum relaxation distance at every time step can
 be limited to achieve better (if physically incorrect) stability of the whole
 spring system.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfloatMaximum relaxation distance for either end of the spring in world unitsFields inherited from class toxi.physics3d.VerletSpring3Da, b
- 
Constructor SummaryConstructorsConstructorDescriptionVerletConstrainedSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str) VerletConstrainedSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str, float limit) 
- 
Method SummaryMethods inherited from class toxi.physics3d.VerletSpring3DgetRestLength, getStrength, lockA, lockB, setRestLength, setStrength
- 
Field Details- 
limitpublic float limitMaximum relaxation distance for either end of the spring in world units
 
- 
- 
Constructor Details- 
VerletConstrainedSpring3D- Parameters:
- a-
- b-
- len-
- str-
 
- 
VerletConstrainedSpring3Dpublic VerletConstrainedSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str, float limit) - Parameters:
- a-
- b-
- len-
- str-
- limit-
 
 
-