Introduction/functions-move-int-move

Move Function

Introduced in version 1.0

Move function allows you to instantly move selected component.


Example:

gm_stock->move(render_object_component, by, 5, 0, 0)

Example above moves component by 5 centimeters in x axis.


You can also set component position using "set" parameter instead.

Interp_Move Function

Interp_Move function allows you to smoothly move selected component.


Example:

gm_stock->int_move(render_object_component, by, 5, 0, 0, 5)

Example above smoothly moves component by 5 centimeters in x axis at the speed of 5.


You can also set component position using "set" parameter instead.

documentation

Outdated! Updates coming soon.