reactor_Rope : Modifier

reactor_Rope - superclass: Modifier; super-superclass:MAXWrapper - classID: #(841627188, 1926716125)

Constructor

reactor_SoftBody...

Properties:

.adm_defMesh (Deformable_Mesh) : node

Get/Set the Deformable Mesh node.

.adm_ignoreCollisions (Ignore_Collisions) : boolean

Get/Set the state of the "Ignore Collisions" checkbox in the "Attach To DefMesh" rollout.

.arb_rigidBody (Rigid_Body) : node

Get/Set the Rigid Body node.

.arb_doNotAffectRigidBody (Do_Not_Affect_Rigid_Body) : boolean

When set to true, the Rigid Body will not be affected.

.arb_ignoreCollisions (Ignore_Collisions) : boolean

When set to true, Rigid Body collisions will not be calculated.

.kf_useStoredKeyframes (Use_Stored_Keyframes) : boolean

When set to true, stored keyframes will be used.

.mass : float

Get/Set the Mass value.

.simpleStiffness (Stiffness) : float

Get/Set the Stiffness value which governs how much the rope can stretch.

.friction : float

Get/Set the Friction value.

.avoidSelfIntersections (Avoid_Self_Intersections) : boolean

Get/Set the state of the "Avoid Self-Intersection" checkbox in the "Properties" rollout.

.useCurrentState (Use_Current_State) : boolean

When set to true, the rope will start the simulation in its current state in the viewport.

.damping : float

Get/Set the damping value which governs how quickly oscillations settle down when the rope is compressed or expands.

.airResistance (Air_Resistance) : float

Get/Set the air resistance value which governs the extent to which the rope will lose energy as it moves.

.type : integer

Get/Set the Rope Type. Possible values are

0 - Spring

1 - Constraint

.thickness : float

Get/Set the Thickness value.

.numWeaves (Num_Weaves) : integer

Get/Set the Num Weaves value which determines to what extent the rope's inflexibility extends across vertices. For example, a Num Weaves value of 3 ensures that all vertices 3 sections or less apart are subject to extra forces to stop bending. This means that large Num Weaves value produce a very inflexible rope, whereas small values (like the default) mean that only sections very close to each other will have restricted relative movement.

.keepShape (Keep_Shape) : boolean

When set to true, the rope will try to keep its original shape rather than returning to a straight line

.useSoftSelection (Use_Soft_Selection) : boolean

When set to true, Soft Selection will be used to smooth the transition between keyframed and simulated vertices for this deformable object.

Interfaces:

Interface: rctRopeInterface

Properties:

.currentVertexSelection : bitArray by value : Read|Write

Get/Set the current vertex selection as bitArray.

.currentConstraintIndex : integer : Read|Write

Get/Set the index of the current constraint in the list.

.currentConstraintName : string : Read|Write

Get/Set the name of the current constraint in the list.

Methods:

<string>currentConstraintDescription()

Returns the description of the current Constraint as string.

<integer>addAttachToRigidBodyConstraint()

Corresponds to pressing the "Attach To Rigid Body" button in the UI. Returns the list index of the new constraint.

<integer>addAttachToDefMeshConstraint()

Corresponds to pressing the "Attach To DefMesh" button in the UI. Returns the list index of the new constraint.

<integer>addFixVerticesConstraint()

Corresponds to pressing the "Fix Vertices" button in the UI. Returns the list index of the new constraint.

<integer>addKeyframeVerticesConstraint()

Corresponds to pressing the "Keyframe Vertices" button in the UI. Returns the list index of the new constraint.

<boolean>deleteConstraint()

Corresponds to pressing the "Delete Constraint" button in the UI. Returns true on success.

<integer>getNumStoredKeyframes()

Returns the number of stored keyframes.

<void>clearStoredKeyframes()

Removes the stored keyframes.

See also

RBCollection : Helper

MAXScript Extensions for Reactor