|
NEWYVALUE
This command will return a value that represents the new Y position of a point in 3D space.
Return Float=NEWYVALUE(Current Y Value, Angle Value, Step Value)
Current Y Value
Float
This value is a float number such as 0.5
Angle Value
Float
Specify the angle value in degrees between 0 and 360.
Step Value
Float
This value is a float number such as 0.5
This value is a float number such as 0.5
This command is used in conjunction with NEWXVALUE and NEWZVALUE commands to move from one point in space to another point in space based on a specified angle. Rather than using COS/SIN maths, these commands simplify the task of moving coordinates within 3D space. The step value specifies how far in the specified direction you would like to calculate. The parameters should be specified using real numbers.
X#=320
Y#=240
DO
X#=NEWXVALUE(X#,0,1)
Y#=NEWYVALUE(Y#,0,1)
DOT X#,Y#
LOOP
CORE Commands Menu
Index
|