डिक्लेरेशन
func CreateTrajectory(target entity<Entity>, initialVelocity Vector3, acceleration Vector3, maxDisplacement float, out var createdEntity entity<Trajectory>, autoPlay bool)
go
पैरामीटर्स
इनपुट
| नाम | टाइप | विवरण |
|---|---|---|
| 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 |
आउट
| नाम | टाइप | विवरण |
|---|---|---|
| Created Entity | PlayableTrajectory | Trajectory motion entities created |