Skip to main content
TikTok Effect House Platform Logo
Download
Login
Math

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

NameData typeDescription
AVec4The first vector
BVec4The second vector

Output

NameData typeDescription
ResultVec4The result of the cross product

Example

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