Tile - YAnimators - Move To – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Move object to Ylands:Tile - YAnimators - Move To: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Move To(Object, Position, Time, Smoothing) == | |||
[[File:YlandsTile-598.png]] | |||
<pre>static moveToTime(obj: YEntity | YLogic | YGroup, targetPosition: YVector3, time: number, smoothing: number): void;</pre> | |||
=== Parameters === | |||
==== obj ==== | |||
==== targetPosition ==== | |||
==== time ==== | |||
==== smoothing ==== | |||
=== Description === | |||
Moves the animated '''object''' to the target '''position''' in the specified '''time''', using the '''smoothing''' value to smooth the beginning and the end of the movement. | |||
== Move To(Object, Position, Speed, Smoothing) == | |||
[[File:YlandsTile-599.png]] | |||
<pre>static moveToSpeed(obj: YEntity | YLogic | YGroup, targetPosition: YVector3, speed: number, smoothing: number): void;</pre> | |||
=== Parameters === | |||
==== obj ==== | |||
==== targetPosition ==== | |||
==== speed ==== | |||
==== smoothing ==== | |||
=== Description === | |||
Moves the animated '''object''' to the target '''position''' with the specified '''speed''', using the '''smoothing''' value to smooth the beginning and the end of the movement. | |||
Line 16: | Line 46: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:51, 8 July 2021
Move To(Object, Position, Time, Smoothing)
static moveToTime(obj: YEntity | YLogic | YGroup, targetPosition: YVector3, time: number, smoothing: number): void;
Parameters
obj
targetPosition
time
smoothing
Description
Moves the animated object to the target position in the specified time, using the smoothing value to smooth the beginning and the end of the movement.
Move To(Object, Position, Speed, Smoothing)
static moveToSpeed(obj: YEntity | YLogic | YGroup, targetPosition: YVector3, speed: number, smoothing: number): void;
Parameters
obj
targetPosition
speed
smoothing
Description
Moves the animated object to the target position with the specified speed, using the smoothing value to smooth the beginning and the end of the movement.