Basic Math
This Channel Modifier allows basic math operations to be performed and the result output to a channel that can then be read by other Channel Modifiers, or linked to a compatible (i.e. numeric) channel on any item. The inputs can be constant or animated values on the Value A and\or Value B channels of the modifier itself or values from other channels can be linked in. In the descriptions below the channel values for the inputs are called A and B, and the output value is C.
The math operation available are:
Operations: Users can choose form the various nasic math calculations-
Add- Value A + Value B = Output C
Subtract- Value A - Value B = Output C
Multiply- Value A * Value B = Output C
Divide- Value A / Value B = Output C
Modulo- The remainder of Value A / Value B = Output C
Average- The average of Value A and Value B = Output C
Minimum- The lesser of Value A and Value B = Output C
Maximum- The greater of Value A and Value B = Output C
Value A/B: User can connect the input of others channels into this modifier to calculate the equation and link the output channel to to the target channel.
Users can define multiple inputs for the math operation and then output the result using the Result (Output C) output channel.
Operations: Users can choose form the various nasic math calculations-
Add- Value A + Value B = Output C
Subtract- Value A - Value B = Output C
Multiply- Value A * Value B = Output C
Divide- Value A / Value B = Output C
Modulo- The remainder of Value A / Value B = Output C
Average- The average of Value A and Value B = Output C
Minimum- The lesser of Value A and Value B = Output C
Maximum- The greater of Value A and Value B = Output C
Users can apply triginometric operations to a channel. They are used to relate the angles of a triangle to the lengths of the sides of a triangle.
Operation:
Cosine- ratio of the adjacent side to the hypotenuse of a right-angled triangle
Sine- ratio of the length of the side opposite the given angle to the length of the hypotenuse of a right-angled triangle
Tangent- ratio of the opposite to the adjacent side of a right-angled triangle
Input:
Inverse: When this option is enabled, the output value will be inverted.