Gravity Engine 12.0
Unity Asset for Gravity
Loading...
Searching...
No Matches
TrajectoryIntercepts Class Reference

Trajectory intercepts. Given two trajectories that have recorded data, determine the points at which they cross in space. There are two types: intercept - the paths cross at the same time, the spaceship intercepts the target and depending on deltaV may rendezvoud match - the paths cross but at different times. The spaceship can choose to match the path of the target (with appropriate deltaV) but the target is not at the match point. More...

Inheritance diagram for TrajectoryIntercepts:

Public Member Functions

void ComputeAndMarkIntercepts (float deltaDistance, float deltaTime, float rendezvousDT)
 Computes intercepts and marks them intercepts.
 
List< TrajectoryData.InterceptGetIntercepts ()
 
void ClearMarkers ()
 

Public Attributes

Trajectory spaceship
 
Trajectory target
 
GameObject interceptSymbol
 Object to place at a trajectory intercept location.
 
GameObject rendezvousSymbol
 Object to place at a trajectory rendezvous location.
 

Detailed Description

Trajectory intercepts. Given two trajectories that have recorded data, determine the points at which they cross in space. There are two types: intercept - the paths cross at the same time, the spaceship intercepts the target and depending on deltaV may rendezvoud match - the paths cross but at different times. The spaceship can choose to match the path of the target (with appropriate deltaV) but the target is not at the match point.

Member Function Documentation

◆ ComputeAndMarkIntercepts()

void TrajectoryIntercepts.ComputeAndMarkIntercepts ( float  deltaDistance,
float  deltaTime,
float  rendezvousDT 
)

Computes intercepts and marks them intercepts.

Parameters
deltaDistanceDistance that separates sets of intercept points.
deltaTimeTime that separates sets of intercept points.
rendezvousDTIf less than this dT, regard as rendezvous, otherwise a traj. match

The documentation for this class was generated from the following file: