BOIDS
A downloadable tool
Download NowName your own price
Version: 1.3.4
A library for spawning and using boids.
Use Cases:
- Making boids with flocking behaviour
Package Mirrors:
Key Scripts & Components:
- public class Boid : MonoBehaviour
- Properties:
- public BoidManager Manager { get; }
- public Boolean OverrideManagerSpeed { get; set; }
- public float InstanceSpeed { get; set; }
- Methods:
- public void Initialize(BoidManager newManager)
- public class BoidManager : MonoBehaviour
- Actions:
- public event Action OnBoidsChanged
- Properties:
- public ContainerAvoidanceSettings ContainerAvoidance { get; }
- public ColliderAvoidanceSettings ColliderAvoidance { get; }
- public List<boid> Boids { get; }</boid>
- Methods:
- public void Register(Boid boid)
- public void Unregister(Boid boid)
- public void DestroyBoids()
- public class BoidSpawner : MonoBehaviour
- Properties:
- public BoidManager Manager { get; set; }
- public Boid Prefab { get; set; }
- public Int32 Amount { get; set; }
- Methods:
- public virtual List`1 SpawnBoids()
- public interface IBoidSpawner
- Properties:
- public BoidManager Manager { get; set; }
- Methods:
- public abstract List`1 SpawnBoids()
Containers
- public abstract class BoidContainer : MonoBehaviour
- Properties:
- public Vector3 Offset { get; set; }
- public Vector3 Position { get; set; }
- public Vector3 Scale { get; }
- Methods:
- public abstract Vector3 GetRandomWorldPositionInContainer()
- public abstract Boolean WorldPositionIsInContainer(Vector3 worldPosition)
- public abstract Vector3 ClosestPointInOrOnContainer(Vector3 worldPosition)
- public class BoidContainerCube : BoidContainer
- Properties:
- public Vector3 Dimensions { get; set; }
- Methods:
- public override Vector3 GetRandomWorldPositionInContainer()
- public override Boolean WorldPositionIsInContainer(Vector3 worldPosition)
- public override Vector3 ClosestPointInOrOnContainer(Vector3 worldPosition)
- public class BoidContainerHemisphere : BoidContainer
- Methods:
- public override Vector3 GetRandomWorldPositionInContainer()
- public override Boolean WorldPositionIsInContainer(Vector3 worldPosition)
- public override Vector3 ClosestPointInOrOnContainer(Vector3 worldPosition)
- public class BoidContainerSphere : BoidContainer
- Methods:
- public override Vector3 GetRandomWorldPositionInContainer()
- public override Boolean WorldPositionIsInContainer(Vector3 worldPosition)
- public override Vector3 ClosestPointInOrOnContainer(Vector3 worldPosition)
Status | Released |
Category | Tool |
Author | Iron Mountain |
Download
Download NowName your own price
Click download now to get access to the following files:
com.iron-mountain.boids.unitypackage 65 kB
Leave a comment
Log in with itch.io to leave a comment.