BasicShape: OnArrivePosition
Invoked when the basic shape arrives at the location specified by GoToPosition.
Event
void xxxxxxxxxxxxxxxxx(sender: object, x: float, y: float, z: float, speedX: float, speedY: float, speedZ: float);
Parameters
Name | Type | Description |
---|---|---|
sender | Object | The basic shape that has completed its movement. |
x | Number | The x coordinate of the basic shape after the movement. |
y | Number | The y coordinate of the basic shape after the movement. |
z | Number | The z coordinate of the basic shape after the movement. |
speedX | Number | The speed of the X axis movement at the time the movement ended. |
speedY | Number | The speed of the Y axis movement at the time the movement ended. |
speedZ | Number | The speed of the X axis movement at the time the movement ended. |