🏹Trajectory
v1.0
Last updated
v1.0
Last updated
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.
Projectile Factory ships with a number of Trajectory Behaviors ready to use. Trajectories are a very important part of any game which makes use of them, as they provide an immense amount of data to the player.
Trajectories are often specifically designed for the game they are in.
You will likely wish to create your own Trajectory Behaviors in order to provide your players the specific experience you're creating.
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.
Trajectories assigned to a Projectile can optionally be active post-launch by including them in the Behaviors list on the Projectile.