CSolver : Helper

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

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:

.deactivationThreshold (Deactivation_Threshold) : float

Get/Set the deactivation threshold value.

.disabled : boolean

When set to True, the CSolver will be disabled.

Interfaces

Interface: rctConstraintSolverInterface

Properties

.constraintsTab : node by value array : Read|Write

Get/Set the array of constraints.

.rbCollection : node : Read|Write

Get/Set the Rigid Body Collection to constrain.

.isDisabled : boolean : Read|Write

Get/set the disabled state of the Constraint Solver.

.deactivationThreshold : float : Read|Write

Get/Set the deactivation threshold value.

Methods

<boolean>AddConstraint <node>newConstraint

Add a new object to the array of Constraints.

<boolean>RemoveConstraint <integer>markerIndex

Remove the indexed object from the array of Constraints.

<boolean>RemoveConstraintByINode <node>deletedConstraint

Remove the specified object from the array of Constraints.

<integer>GetNumConstraints()

Returns the number of objects in the array of Constraints.

<boolean>GetIsValidConstraintSolver()

Returns True if the CSover is a valid Constraint Solver.

See also

MAXScript Extensions for Reactor