Cosine
Overview

The Cosine Node takes a single Float value, representing an angle, in degrees (°) or radians (rad), and returns its cosine.
Scope: Project, Scene, Function, Prefab.
Attributes

Miscellaneous
Attribute
Type
Description
Is Degree
Bool
Determines whether the Input value is given in degrees (°) or radians (rad).
Inputs
Attribute
Type
Description
Default Value
Float
The default value of Input, if no value is provided in the Input Socket.
Inputs
Input
Type
Description
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Input
Float
The angle to calculate the cosine of.
Outputs
Output
Type
Description
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
Float
The cosine of Input.
See Also
External Links
Trigonometry on Khan Academy.
Sine, Cosine and Tangent on Maths is Fun.
Last updated
Was this helpful?