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

Orbit simple decay. This script causes a simple decay of a body in orbit by applying a small decay factor to the velocity on each frame. More...

Inheritance diagram for OrbitSimpleDecay:

Public Attributes

float logDecayFactor = 4f
 

Detailed Description

Orbit simple decay. This script causes a simple decay of a body in orbit by applying a small decay factor to the velocity on each frame.

The decay factor is logarithmic - larger values cause orbits that decay more slowly


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