![]() |
Gravity Engine 2 9.0
|
Unity component to add EarthAtmosphereReentry external acceleration to a GECore body. More...
Public Member Functions | |
| int | AddToGE (int id, GECore ge, GBUnits.Units units) |
| Add this EarthAtmosphereReentry external acceleration to a GECore body. | |
| string | GetConfigurationSummary () |
| Get a summary of the current configuration for debugging purposes. | |
| void | LogConfiguration () |
| Log the current configuration to the console for debugging. | |
Public Attributes | |
| double | coeffDrag = 2.2 |
| double | crossSectionalArea = 10.0 |
| double | earthMuSI = 3.986e14 |
| double | heightSurfaceKm = 6371 |
| double | inertialMassKg = 1000 |
| double | timeStepSec = 0.1 |
Unity component to add EarthAtmosphereReentry external acceleration to a GECore body.
This component demonstrates how to integrate EarthAtmosphereReentry into the Unity scene system. It follows the same pattern as GSEarthAtmosphere but uses the reentry-specific physics model.
The reentry model includes:
| int GravityEngine2.GSEarthAtmosphereReentry.AddToGE | ( | int | id, |
| GECore | ge, | ||
| GBUnits::Units | units ) |
Add this EarthAtmosphereReentry external acceleration to a GECore body.
This method creates the necessary data structure and adds it to the GECore as a self-integrated external acceleration.
| id | The GECore body ID to add the acceleration to |
| ge | The GECore instance |
| units | The units system being used |
Implements GravityEngine2.GSExternalAcceleration.
| string GravityEngine2.GSEarthAtmosphereReentry.GetConfigurationSummary | ( | ) |
Get a summary of the current configuration for debugging purposes.