SpringPoint3Controller - superclass: Point3Controller

SpringPoint3Controller - superclass: Point3Controller; super-superclass:MAXWrapper - 4:4 - classID: #(327754098, 1754751609) 

Value > MAXWrapper > Controllers > Point3Controller > SpringPoint3Controller

 

   

Animation Controllers - Quick Navigation

Constructors

SpringPoint3Controller ... Point3Spring...   

Properties:

<SpringPoint3Controller>.position Point3 default: [0,0,0] -- animatable; point3 

   

<SpringPoint3Controller>.x_effect Float default: 100.0 

These settings let you control the percentage of the effect on the individual world axes. Default=100. Range=0 to 200.

   

<SpringPoint3Controller>.y_effect Float default: 100.0 

These settings let you control the percentage of the effect on the individual world axes. Default=100. Range=0 to 200.

   

<SpringPoint3Controller>.z_effect Float default: 100.0 

These settings let you control the percentage of the effect on the individual world axes. Default=100. Range=0 to 200.See Also

   

SpringPoint3Controller Interfaces:

Interface:Spring 

Methods

<float>getMass () 

Returns the mass.

   

<void>setMass <float>mass 

Sets the mass. The mass of the object to which the Spring controller is applied. Increasing the mass causes the "bouncing" spring motion to become more exaggerated.

   

<float>getDrag () 

Returns the drag.

   

<void>setDrag <float>drag 

Sets the drag. Acts as air friction on the spring motion. A low Drag setting results in a greater "bouncing" effect, while a high Drag results in subdued bouncing. Default=1. Range=0 to 10.

   

<float>getTension <index>springIndex 

Gets the tension for the spring corresponding to the index.

   

<void>setTension <index>springIndex<float>tension 

Sets the tension for the spring corresponding to the index. The "stiffness" of the virtual spring between the controlled object and the highlighted spring object(s).

   

<float>getDampening <index>springIndex 

Gets the dampening for the spring corresponding to the index.

   

<void>setDampening <index>springIndex<float>dampening 

Sets the dampening for the spring corresponding to the index. Acts as a multiplier of an internal factor that determines how quickly the object comes to rest. With the Self Influence spring, changing Dampening has the same effect as changing Drag. With other springs, Dampening affects only the movement caused by that spring. Internally, the dampening value is proportional to the tension, so as you increase the tension and make the solution more stiff, the dampening is increased to maintain system stability.

   

<boolean>addSpring <node>node 

Adds the node to the spring list. Returns true if successful, false otherwise

   

<integer>getSpringCount () 

Returns the number of springs in the spring system.

   

<void>removeSpringByIndex <index>springIndex 

Removes the spring corresponding to the index.

   

<void>removeSpring <node>node 

Removes the spring if the node is in the spring list.

   

See Also