Cross

Use Cross to calculate the cross product between two vectors. The cross product is a vector that is perpendicular to the input two vectors. Supported types: Vec3, and Vec4. Cross is in the Math category.
Input
Name | Data Type | Description |
---|---|---|
A | Vec4 | The first vector. |
B | Vec4 | The second vector. |
Output
Name | Data Type | Description |
---|---|---|
Result | Vec4 | The result of the cross product. |
Example

This example shows that the pink sphere’s position is always perpendicular to the plane that consists of the other green spheres.
