9
736 Chapter 13: reactor
Constraint Solver
Create panel > Helpers > reactor > CSolver
Menubar>reactor>CreateObject>ConstraintSolver
reactor toolbar > Create Constraint Solver button
TheConstraintSolveractsasacontainerforthe
cooperative constraints (page 2–735) in a particular
Rigid Body Collection (page 2–723),andperforms
all the calculations necessary for the constraints to
work together.
For a cooperative constraint to be simulated in a
scene, it must be included in a valid Constraint
Solver and any of the rigid bodies it contains
should b e in the Rigid Bo dy Collection associated
w ith the solver. For a Constraint Solver to be
validitshouldbeassociatedwithavalidRigid
Body Collect ion. When not selected, an invalid
Constraint S olver is red in the viewport.
YoucandisableanentireConstraintSolver,thus
disabling all of its constraints. You can also set a
deactivation threshold for all the constraints in the
solver, which lets you specify when you would like
all the relevant rigid bo dies to b e deactivated.
Pr ocedur es
To create a Constraint Solver:
• Chooseoneoftheaboveoptions,andthenclick
in any viewport to add the Constraint Solver.
Note: The icon’s position has no effect on the
constraint’s behavior.
To a ssign a R igid B ody Collection to the solver:
1.
On the Properties rollout click the RB
Collection button.
Thisentersapickmodeinwhichyoucan
chooseonlyaRigidBodyCollection.
2. In one of the viewports click the collection to
assign to the Constraint Solver. The collection
should contain the rigid bodies for the
constraints in the solver.
To add constraints to a solver:
1.
Create a Constraint Solver and some
cooperative constraints to add to the solver.
2. Add constraints to the solver u sing either (or
both) of these methods:
•OntheConstraintSolver>Properties
rollout, click the Pick button, and then in the
viewport click a constraint helper to add.
• On the Proper ties rollout, click the Add
button, and then use the dialog to specify
one or more constraints to add.