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

Abstract class to hold information for a force delegate for a given NBody. More...

Inheritance diagram for ForceData:
J2ForceData

Public Types

enum  ForceType { NONE , J2 }
 

Protected Attributes

ForceType forceType = ForceType.NONE
 

Detailed Description

Abstract class to hold information for a force delegate for a given NBody.

An Nbody can add a component that extends this class. When the NBody is added to GE the nbodyState will grab a reference to this base class if it is present. This can then be referenced in the force delegate code to get parameters (e.g. value of J2 and rotation axis) for a given NBody.


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