Object channel node
Compares two objects and returns information on their relative positions and orientations.
The Object chop compares two objects and returns information on their relative positions and orientations. The information that can be output is:
Position of one object relative to another
Rotation of one object relative to another
Bearing of one object relative to another
Single Bearing Angle between two objects
Distance between the origin of two objects
Inverse Square of the Distance between two objects
The optional two inputs allow you to compare X,Y,Z points in world space with objects or each other. The inputs are expected to have three channels containing XYZ points. These inputs replace the target and/or reference objects. Object and points can be compared with each other, but “Rotation” mode will always return zero.
Parameters
Object
Target Object | The object that is being compared to the reference object. |
Name | Specify the target using a string. |
Reference Object | The object that acts as the basis for the comparison. |
Name | Specify the reference using a string. |
Compute | The information to output from the objects, as listed above. |
Rotate Order | The rotation order to use for “Rotation” or “Bearing” computation. |
Bearing Reference | Bearing requires a direction to use as a reference base. |
Bearing Vector | An arbitrary base direction for /bearingx y z the bearing calculation. |
Point Scope | When one of the optional point inputs is connected, this determines which channels represent X, Y and Z. |
Channel
Channel Names | Sets how the output channels are named. A : is placed in the channel name where / is in the path.
| ||||||
Sample Rate | The sampling rate of the channel in frames per second (Hz). | ||||||
Channel Range | Indicates how much of the channel to fetch.
| ||||||
Start | The start time of the desired interval of the object path. | ||||||
End | The end time of the desired interval of the object path. | ||||||
Extend Left | The left extend conditions. | ||||||
Extend Right | The right extend conditions. | ||||||
Default Value | The default value for extend conditions. |
Examples
The following examples are specifically designed to demonstrate this node:
ObjectBasic
$HFS/mozilla/documents/examples/nodes/chop/object/ObjectBasic.cmd
