Chaotic Motion  1.0
ChaosTrail Class Reference

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...

Inheritance diagram for ChaosTrail:

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.
 

Detailed Description

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.

Member Function Documentation

void ChaosTrail.AddPoint ( Vector3  point)

Adds a point to the trail.

Parameters
pointPoint.

Definition at line 40 of file ChaosTrail.cs.


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