Gravity Engine 12.0
Unity Asset for Gravity
|
Show the maneuvers as 3D on screen vectors. More...
Public Member Functions | |
void | ShowManeuvers (List< Maneuver > maneuvers) |
Show each maneuver in the list using an in-scene vector made from the maneuverArrowPreb. Optionally update on-screen text. | |
void | Clear () |
Show the maneuvers as 3D on screen vectors.
This script requires a prefab with a line renderer and a MeshRenderer (Cone for arrow end)
void ManeuverRenderer.ShowManeuvers | ( | List< Maneuver > | maneuvers | ) |
Show each maneuver in the list using an in-scene vector made from the maneuverArrowPreb. Optionally update on-screen text.
Position is determined from the maneuver Nbody (if present) or taken from the maneuver physical location, scaled and mapped to the scene.
maneuvers |