func CreateAlongPathMotion(targetEntity entity<Entity>, path entity<CustomCurvePath>, style TweenStyle, speed float, tangentFacing bool, out var createdEntity entity<AlongPathMotion>, autoPlay bool)
go
Name |
Type |
Description |
Target |
Entity |
The target entity |
Path |
CustomCurvePath |
The path of motion |
Style |
TweenStyle |
The play method of the interpolation. Options include play once, loop, and play again. |
Speed |
Float |
The magnitude of velocity |
Tangent Facing |
Bool |
Whether the object is facing the direction of movement. This property remains unchanged even if the object’s orientation is forcibly modified by other means. |
Auto Play |
Bool |
Automatically play upon creation |
Name |
Type |
Description |
Created Entity |
AlongPathMotion |
A name that is used for creating a HUD entity. The local variable it corresponds to is the entity of the HUD being created. |