Gravity Engine  1.5
Unity Asset for Gravity
ForceChooser Class Reference

Force chooser. A Factory pattern to select a force for integrators that support force delegates. More...

Public Types

enum  Forces {
  Gravity, InverseR, InverseR3, ForceR,
  ForceR2, Custom
}
 

Static Public Member Functions

static IForceDelegate InstantiateForce (Forces force, GameObject host)
 

Detailed Description

Force chooser. A Factory pattern to select a force for integrators that support force delegates.


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