Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

Division node

Divides one value by another.
Read time 1 minuteLast updated 2 days ago

Use the Division node to divide one value by another. It divides numbers, scales vectors down by a number, and can divide two vectors component-by-component. To divide two Vector2 or Vector3 values, the node divides each component separately (X÷X, Y÷Y, and for Vector3 also Z÷Z).

Sockets

Socket

Type

Description

Input 1
Float
,
Int
,
Vector2
,
Vector3
The value to divide.
Input 2Same type as Input 1, or a compatible typeThe value to divide by. Supported pairs include: number ÷ number, vector ÷ number (scales the vector down), vector ÷ vector (component-by-component). Don't divide by zero (or zero components).
OutputMatches the operation (output)The result of the division: numbers divided, vectors scaled down, or vectors divided per component.