|
Aerodynamic Objects Core 2.0.0
|
Used to spawn aeroplanes in a scene. More...
Public Attributes | |
| GameObject | paperPlanePrefab |
| Transform | spawnTarget |
| float | spawnrate = 5 |
| Rate at which planes are spawned in planes per second. More... | |
| float | spawnRadius = 2 |
| Radius of sphere within which planes are spawned. More... | |
| float | meanControlSurfaceDeflection = -0.1f |
| Sets the average trim state for planes. More... | |
| float | controlSurfaceRange = 0.01f |
| The range over which random variations are applied to control surface deflection, radians. More... | |
| float | planeLife = 5 |
| How long each plane exists in the scene before it is destroyed. More... | |
| float | timescale = 0.1f |
| Slow motion factor for the scene. More... | |
Used to spawn aeroplanes in a scene.
| float AerodynamicObjects.Demos.PlaneSpawner.controlSurfaceRange = 0.01f |
The range over which random variations are applied to control surface deflection, radians.
| float AerodynamicObjects.Demos.PlaneSpawner.meanControlSurfaceDeflection = -0.1f |
Sets the average trim state for planes.
Random variation is applied either side of this. In radians.
| GameObject AerodynamicObjects.Demos.PlaneSpawner.paperPlanePrefab |
| float AerodynamicObjects.Demos.PlaneSpawner.planeLife = 5 |
How long each plane exists in the scene before it is destroyed.
| float AerodynamicObjects.Demos.PlaneSpawner.spawnRadius = 2 |
Radius of sphere within which planes are spawned.
Sphere centre located at spawn target, m.
| float AerodynamicObjects.Demos.PlaneSpawner.spawnrate = 5 |
Rate at which planes are spawned in planes per second.
| Transform AerodynamicObjects.Demos.PlaneSpawner.spawnTarget |
| float AerodynamicObjects.Demos.PlaneSpawner.timescale = 0.1f |
Slow motion factor for the scene.
Paper planes move fast for their size so it is good to slow down the action. Smaller number is slower.