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

Handle the change of centerbody when an object on rails enters/leaves a sphere of influence (SOI). More...

Inheritance diagram for OrbitUniversalSOIChange:
IPatchedConicChange

Public Member Functions

void Awake ()
 
void OnNewInfluencer (NBody newObject, NBody oldObject)
 Do hand off from one center to a new center in the OrbitUniversal class.
 
void OnNewInfluencer (NBody newObject, NBody oldObject)
 Callback from an OrbitPredictor when it performs a change in the object it uses for conic orbit prediction.
 

Detailed Description

Handle the change of centerbody when an object on rails enters/leaves a sphere of influence (SOI).

Member Function Documentation

◆ OnNewInfluencer()

void OrbitUniversalSOIChange.OnNewInfluencer ( NBody  newObject,
NBody  oldObject 
)

Do hand off from one center to a new center in the OrbitUniversal class.

Parameters
newObject
oldObject

Implements IPatchedConicChange.


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