Previous Document Next Document

Relations > Basic Constraints > Spring constraint

Spring constraint


This relation creates a spring-like constraint between two objects. For example, if a sphere has a spring constraint linking it to a cube, and you pull the sphere away from the cube, it will spring back within a determined distance, bouncing around like a superball.

This relation creates an animated connection between two (or more) objects. You can control the length of the spring, the amount of the spring, as well as the tension (damping).

This is useful for creating interesting secondary animation.


To apply a spring constraint:
  1. Multi-select the object that will be spring-constrained and then the second object, towards which it will bounce, in that order.
  2. Choose Relations > Spring.
  3. With Play turned on, select the constrained object and translate it. When released, it will bounce back towards the constraining object, flying off in all directions. When you manipulate the constraining object, the spring-constrained object will react to that movement, bouncing around.

Spring Constraint Parameters

Active

Toggles the constraint on and off.

Rest length

Determines the distance in units at which the object will come to rest. For example, if the rest length is 0, it will come to rest on the constraining object. If the rest length is 2, it will come to rest 2 units from the constraining object.

Springiness

Determines the strength of the spring. A low value will make the object slowly spring back to its original position, whereas a higher value will make it zip back into place.

Resistance

Attenuates the strength of the bouncing. A higher value will make the spring seem to be moving through molasses!


See also:

Unlocking constraints

Using weight to control multiple constraints

"To view the constraint in the viewports:"

Previous Document Next Document