MAXScript Extensions > MAXScript Extensions for Reactor >

# CSolver : Helper

    CSolver - superclass: Helper; super-superclass:Node - classID: #(501294697, 1749682153)

The Reactor dynamics system has been retired and REMOVED from 3ds Max 2012.

Value > MAXWrapper > Node > Helper > reactor > CSolver

Description:

The Constraint Solver acts as a container for the cooperative constraints in a particular rigid body collection, and performs all the calculations necessary for the constraints to work.

Constructors:

    CSolver... RctConstraintSolver...

Properties:

    <CSolver>.deactivationThreshold (Deactivation_Threshold) : float

Get/Set the deactivation threshold value.

    <CSolver>.disabled : boolean

When set to True , the CSolver will be disabled.

### Interfaces

    Interface:rctConstraintSolverInterface

Properties

    <CSolver>.constraintsTab : node by value array : Read|Write

Get/Set the array of constraints.

    <CSolver>.rbCollection : node : Read|Write

Get/Set the Rigid Body Collection to constrain.

    <CSolver>.isDisabled : boolean : Read|Write

Get/set the disabled state of the Constraint Solver.

    <CSolver>.deactivationThreshold : float : Read|Write

Get/Set the deactivation threshold value.

Methods

    <boolean><CSolver>.AddConstraint <node>newConstraint

Add a new object to the array of Constraints.

    <boolean><CSolver>.RemoveConstraint <integer>markerIndex

Remove the indexed object from the array of Constraints.

    <boolean><CSolver>.RemoveConstraintByINode <node>deletedConstraint

Remove the specified object from the array of Constraints.

    <integer><CSolver>.GetNumConstraints()

Returns the number of objects in the array of Constraints.

    <boolean><CSolver>.GetIsValidConstraintSolver()

Returns True if the CSover is a valid Constraint Solver.

#### See Also

- MAXScript Extensions forReactor