Divide

Overview

Divide is a basic arithmetic operation Node, which divides one number (dividend) by a second number (divisor) and outputs the result of the operation (quotient). This will affect each component separately with Data Types that are comprised of multiple components (Vectors).

This is the equivalent of the division (÷ or /) operation in computer science and mathematics.

Scope: Project, Scene, Function, Prefab.

Attributes

AttributeTypeDescription

Data Type

Drop-down

The type of data that will be plugged into the Input Sockets.

Default Dividend

Defined in the Data Type Attribute.

The left side of the division operation (the number to be divided), if no value is provided in the Dividend Socket.

Default Divisor

Defined in the Data Type Attribute.

The right side of the division operation (the number to divide by), if no value is provided in the Divisor Socket.

Inputs

InputTypeDescription

Pulse Input (►)

Pulse

A standard input Pulse, to trigger the execution of the Node.

Dividend

Defined in the Data Type Attribute.

The left side of the division operation (the number to be divided).

Divisor

Defined in the Data Type Attribute.

The right side of the division operation (the number to divide by).

Outputs

OutputTypeDescription

Pulse Output (►)

Pulse

A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

Quotient

Defined in the Data Type Attribute.

The result of the division operation.

Last updated