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

Random planets. Create a random planets that will be in orbit around the NBody that this object is a component of. More...

Inheritance diagram for RandomPlanets:

Public Attributes

int numPlanets
 The number of planets to be created when the component starts.
 
GameObject[] planetPrefabs
 A list of prefabs. Each planet will use a prefab chosen at random from this list.
 
float a_min = 1f
 
float a_max = 20f
 
float ecc_min = 0f
 
float ecc_max = 0.3f
 
float incl_min = 0f
 
float incl_max = 180f
 
float omega_lc_min = 0f
 
float omega_lc_max = 360f
 
float omega_uc_min = 0f
 
float omega_uc_max = 360f
 
float phase_min = 0f
 
float phase_max = 360f
 
float scale_min = 0.5f
 
float scale_max = 2f
 

Detailed Description

Random planets. Create a random planets that will be in orbit around the NBody that this object is a component of.

This component must be attached to a GameObject with an NBody component.


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