Create Trajectory

Playable
दोनों तरफ
क्राफ्टलैंड स्टूडियो मोबाइल और पीसी दोनों पर उपलब्ध है

Creating a Trajectory motion will give the target entity an initial velocity and acceleration with direction

डिक्लेरेशन

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