9.5.2

Table Of Contents
1114 CHAPTER 22
XPRESSO EDITOR 1115
Outputs the cross product of two input vectors. The cross product creates a vector perpendicular to
the plane of the two input vectors. For example, you can use this node to calculate the surface normals
of polygons yourself. Choose the node’s data type in the Attribute manager.
The direction of the output vector depends on the direction of the plane between the two input
vectors, but not on its length. Hence you may need to normalize the output vector (for this, use a
Universal adapter node and set its Data Type to Normal). In other words, you may need to set the
length of the output vector to 1.
The order of the input vectors affects the direction of the output vector. If you
swap the input vectors around, the output vector will point in the opposite
direction.
Degree
Most nodes work in radians instead of degrees where angles are involved. An angle of 360°
corresponds to 2*Pi radians. If you want to work in degrees instead of radians, use the Degree node
to convert radians to degrees and vice versa. On the Attribute manager’s Node Properties page, choose
the direction of the conversion from the Function drop-down list.
Distance
To display the distance value in CINEMA 4D’s viewport, create an Object node
for a Text spline. Connect the Distance node’s output to the Object node’s
Text input. To make the text visible when rendered, make the spline a child of
a Loft NURBS or Extrude NURBS.
This node calculates the distance between two positions in 3D space and outputs the result. For
example, if you connect the positions of two objects to the node’s inputs, the node will output
the distance between the objects. If you want the distance to be calculated as soon as you move
the objects in the viewport, ensure that Live Refresh is enabled (XPresso Editor: Calculate > Live
Refresh).