func CreateTrajectory(target entity<Entity>, initialVelocity Vector3, acceleration Vector3, maxDisplacement float, out var createdEntity entity<Trajectory>, autoPlay bool)
go
| Name |
Type |
Description |
| Target |
Entity |
target entity |
| Initial Velocity |
Vector3 |
initial velocity |
| Acceleration |
Vector3 |
acceleration of motion |
| Max. Displacement |
Float |
Maximum displacement distance |
| Auto Play |
Bool |
Whether the playback starts automatically after creation |
| Name |
Type |
Description |
| Created Entity |
PlayableTrajectory |
Trajectory motion entities created |