|
FlightKit
Awesome Flight Simulator Kit
|
Controls all boids flocking around this object. More...
Public Member Functions | |
| GameObject | Spawn () |
| GameObject | Spawn (Vector3 position) |
Public Attributes | |
| GameObject | boidPrefab |
| What should we instantiate as a single boid. More... | |
| int | spawnCount = 10 |
| How many boids to create at start? More... | |
| float | spawnRadius = 100f |
| How far away should the new boids be spawned? More... | |
| float | neighborDistance = 10.0f |
| Minimum distance between all boids. More... | |
| float | speed = 10f |
| Speed of boids. More... | |
| float | speedVariation = 1f |
| How much randomness there is in the speed. More... | |
| float | rotationCoefficient = 5.0f |
| How easily boids rotate. More... | |
| LayerMask | searchLayer |
| Unity layer where boids are. More... | |
Controls all boids flocking around this object.
| GameObject FlightKit.BoidMaster.boidPrefab |
What should we instantiate as a single boid.
| float FlightKit.BoidMaster.neighborDistance = 10.0f |
Minimum distance between all boids.
| float FlightKit.BoidMaster.rotationCoefficient = 5.0f |
How easily boids rotate.
| LayerMask FlightKit.BoidMaster.searchLayer |
Unity layer where boids are.
| int FlightKit.BoidMaster.spawnCount = 10 |
How many boids to create at start?
| float FlightKit.BoidMaster.spawnRadius = 100f |
How far away should the new boids be spawned?
| float FlightKit.BoidMaster.speed = 10f |
Speed of boids.
| float FlightKit.BoidMaster.speedVariation = 1f |
How much randomness there is in the speed.