Chaotic Motion
1.0
|
Chaos trail. Update a trail using a LineRenderer. This allows the path between points to be filled in using intermediate values from the numerical integration - avoiding a "splined" appearance when the evolution steps per frame are large. More...
Public Member Functions | |
void | Init () |
void | AddPoint (Vector3 point) |
Adds a point to the trail. More... | |
Public Attributes | |
float | minVertexDistance = 0.1f |
Distance interval for points to be added to the renderer. | |
float | maxPoints = 500 |
Number of points in the trail. | |
Chaos trail. Update a trail using a LineRenderer. This allows the path between points to be filled in using intermediate values from the numerical integration - avoiding a "splined" appearance when the evolution steps per frame are large.
The number of points used is defined by the Line Renderer component.
Definition at line 14 of file ChaosTrail.cs.
void ChaosTrail.AddPoint | ( | Vector3 | point | ) |