🏹Trajectory

v1.0

Trajectories are generally visual indications of where an projectile may land. Projectile Factory supports both pre-launch trajectories, which allows the Projectile Spawner to give the player valuable information before they shoot a projectile, and active trajectories, which allow Projectiles to display their trajectory while in flight.

This projects a line 3m forward - great for lasers
This shows a UI image where the Projectile is aimed

Assigning Pre-Launch Trajectories

The Projectile Spawner accepts a default Trajectory Behavior which will be used whenever a Projectile does not have one of its own.

Each Projectile also has an option. If populated, the Spawner will use the projectiles Trajectory Behavior instead. One Trajectory Behavior may not work well for another Projectile, so it's important to choose the right Trajectory for each Projectile.

Active Trajectories (Post-Launch)

Trajectories assigned to a Projectile can optionally be active post-launch by including them in the Behaviors list on the Projectile.

Last updated

Was this helpful?