|
CURVEANGLE
This command will return an auto-interpolated angle based on a given speed.
Return Float=CURVEANGLE(Destination Value, Current Value, Speed Value)
Destination Value
Float
This value is a float number such as 0.5
Current Value
Float
This value is a float number such as 0.5
Speed Value
Float
Specify the speed value between 0 and 100.
This value is a float number such as 0.5
This command will gradually move a number from its current value to a destination value at a certain speed. This command can be used to create the technique of a camera swinging into position from another location by curving the value of the camera angles. The parameters should be specified using real numbers.
MAKE OBJECT CUBE 1,100
DO
YROTATE OBJECT 1,CURVEANGLE(OBJECT ANGLE Y(1),90,200.0)
LOOP
CORE Commands Menu
Index
|