Gravity Engine 2 3.0
Loading...
Searching...
No Matches
GravityEngine2.GSTransferShip Class Reference

Scene wrapper for the. More...

Inheritance diagram for GravityEngine2.GSTransferShip:

Public Member Functions

void ComputeTransfer ()
 Compute a transfer BUT do not preform it.
 
List< GEManeuverManeuvers ()
 Get the maneuvers for the last transfer ComputeTransfer()
 
void Transfer ()
 Compute and perform the transfer.
 

Public Attributes

GSBody centerBody
 
bool checkHit = false
 
double circleThreshold = Orbital.SMALL_E
 
GSController gsController
 
bool keysEnabled = false
 
bool lambertAlways = false
 
TransferShip.LambertTimeType lambertTimeMode = TransferShip.LambertTimeType.RELATIVE_TO_NOMINAL
 For Lambert transfers the time of the transfer needs to be specified. The most "scale friendly" way to do this is to use a time factor which is a multiplier on the nominal minimal energy Lambert transfer.
 
bool retrograde = false
 
GSBody ship
 
GSBody targetBody
 
TransferShip.TargetMode targetMode = TransferShip.TargetMode.SHIP_TO_ORBIT
 
GSDisplayOrbit targetOrbit
 
double3 targetPoint
 
double timeFactor = 1.0
 
double timeTransfer = 10.0
 
bool transferAtStart = false
 

Detailed Description

Scene wrapper for the.

See also
TransferShip class. This handles the configuration and invocation of a transfer using inspector entries managed by an Editor script.

Member Function Documentation

◆ ComputeTransfer()

void GravityEngine2.GSTransferShip.ComputeTransfer ( )

Compute a transfer BUT do not preform it.

The resulting maneuvers can be retrieved via Maneuvers()

This will be added as a physics complete callback, since in job mode we cannot change state while jobs are running.

◆ Maneuvers()

List< GEManeuver > GravityEngine2.GSTransferShip.Maneuvers ( )

Get the maneuvers for the last transfer ComputeTransfer()

Returns

◆ Transfer()

void GravityEngine2.GSTransferShip.Transfer ( )

Compute and perform the transfer.

This will be added as a physics complete callback, since in job mode we cannot change state while jobs are running.

Member Data Documentation

◆ lambertTimeMode

TransferShip.LambertTimeType GravityEngine2.GSTransferShip.lambertTimeMode = TransferShip.LambertTimeType.RELATIVE_TO_NOMINAL

For Lambert transfers the time of the transfer needs to be specified. The most "scale friendly" way to do this is to use a time factor which is a multiplier on the nominal minimal energy Lambert transfer.

If the explicit world time fo the transfer is to be specified this is also supported.

The result is a modal choice for Lambert transfers.


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