Compatible With ScriptsCompatible With ExpressionsCompatible With The Command Line

 

double DynamicParent (object parent1, object parent2, object child, double position, double damping )

 

Return Value: 1.0 for success, 0.0 for failure

 

Arguments:

parent1

first parent object

parent2

second parent object
child child object
position parametric position between parents ( 0 -> 1) ( allows overinterpolation )
damping damping value 0 = no damping 1 = full damping ( 0 -> 1) (does not allow overinterpolation )
 

Causes child to act as though it is parented to one of it's two parents. If the position is 0.0 then the child behaves as though it is parented to parent1. If the position is 1.0 then it behaves as though it is parented to parent2. If the value is anywhere in between then it behaves as though it is parented to both; the parent with the position closes to it exerts the greater influence. This function controls both translation and orientation, it does not control scale. 

 

Note:  For more information about DynamicParent see the tutorials section.

 

Example:

Exp_1
|_DynamicParent( p1, p2, Null, 0.7, 0.0  )

In this case the item Null will be positioned somewhere between p1 and p2. The exact position and orientation is determined by the position value of 0.7. This value will cause Null to be positioned closer to p2 than to p1. As as result the orientation of Null will be closer to that of p2 than to p1

 
Converted from CHM to HTML with chm2web Pro 2.82 (unicode)