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

Orbit renderer. Create the positions for a parents Orbit script (OrbitEllipse or OrbitHyper) and create the positions for the attached LineRenderer. (Use parent since a Line Renderer wants to be on a gameobject of its own). More...

Inheritance diagram for OrbitRenderer:

Public Attributes

int numPoints = 100
 

Detailed Description

Orbit renderer. Create the positions for a parents Orbit script (OrbitEllipse or OrbitHyper) and create the positions for the attached LineRenderer. (Use parent since a Line Renderer wants to be on a gameobject of its own).

The position array is calculated in the associted editor script when a parameter change in the parent orbit object is detected.


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