Please wait. Due to its content this page might take a while to load...
The Angle/Distance to X/Y filter node receives an angle and a distance forming a straight line starting at the origin, and calculates the coordinates of the point resulting from it.
The node can be found under Nodes > Filter Nodes > Angle/Distance to X/Y
Choose an input node from the drop-down or enter a numeric value for the angle (in degrees).
Choose an input node from the drop-down or enter a numeric value for the distance between origin and resulting point.
With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).
Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).
The Node generates the following output:
- X (coordinate of the resulting point)
- Y (coordinate of the resulting point)
Please bear in mind that the initial side of the angle is based on the Y-axis instead of the X-axis like in most Cartesian coordinate systems!