-
-
Notifications
You must be signed in to change notification settings - Fork 19
motion_set
CryoEagle edited this page Jan 10, 2019
·
2 revisions
Desc
motion_set(dir, speed)| Argument | Description |
|---|---|
double dir |
Direction to move |
double speed |
Speed to move |
Returns: void
This function will move with your GameObject to given direction with given speed.
motion_set(270, 5);The above code will move GameObject to left side with speed 5.
Back to Movement