Executes a math operation based on two values and outputs the result.
Execute | Executes the Node | |
On Start | Executes the Node at the start of the game | |
Enabled | Determines if the Node is executable | |
Round the Result | Rounds the result based in the Rounding Base (calculated before Clamp or Wrap to Range) | |
Value A / B | Value for the math operation | |
Operator | The math operation used when executed | |
Output Type | Normal | Doesn't change final result |
Clamp to Range | Limits final result by a minimum and maximum value | |
Wrap to Range | Loops the final result around Min and Max (e.g., if Min is 0 and Max is 1, a 1.2 result would become 0.2) | |
Min / Max | Determines the limits of Clamp to Range and Wrap to Range | |
Rounding Base | Base for the Round the Result parameter. Use 1 for integers, 2 for even numbers, and so on | |
Value Output | Outputs the result of the math operation when executed |
Here's a link to the hype that shows how to implement and use the Math Operator node: