Chaotic Motion  1.0
ChaoticParticles Class Reference

Chaotic particles. More...

Inheritance diagram for ChaoticParticles:
ChaoticSystem

Public Member Functions

override void Init ()
 
void UpdateParticles ()
 Updates the particles positions in world space. More...
 

Additional Inherited Members

- Public Attributes inherited from ChaoticSystem
const string NO_PARAM = "none"
 
float timeZoom = 1f
 Time scale (>0)
 
int selectedEqn
 Number of chaos system to evolve (w.r.t. ChaosFactory list)
 
int selectedParams
 Number of parameter bundle selected for evolution (per chaotic equation)
 
Vector3 evolveScale = Vector3.one
 Scale to apply to phyics evolution when mapping back to world space.
 
ParamBundle customParams = null
 Custom parameter values for evolution (valid only if selectedParams exceeds number of params listed in chaosEqn)
 
bool paramFoldout = false
 Editor foldout tab status.
 
bool speedFoldout = false
 
- Protected Member Functions inherited from ChaoticSystem
void TimeInit ()
 
int CalcNumSteps ()
 
- Protected Attributes inherited from ChaoticSystem
float physicsTime
 
float worldTime
 
float DT = 0.005f
 

Detailed Description

Chaotic particles.

Evolve particles using a selected chaotic evolution equation.

Evolution of the system is perfomed in "physics space" since each set of chaotic equations generally works in co-ordinates center on the origin. The script then adjusts the world position and scale based on the position attributes of the game object the script is a component of.

The initial positions are taken by taking the particle position relative to the transform of the game object. Any particle velocities are set to zero - since the evolution path is controlled by the chaotic system.

Definition at line 22 of file ChaoticParticles.cs.

Member Function Documentation

void ChaoticParticles.UpdateParticles ( )

Updates the particles positions in world space.

UpdateParticles is called from the GravityEngine. Do not call from other scripts.

Definition at line 291 of file ChaoticParticles.cs.


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