Skip to main content

FAQ

Can't find the answer to your question? Feel free to ask in our Support Discord.

Q. My Boids aren't behaving properly. What am I doing wrong?

A good place to start would be checking the Separation Multiplier, Alignment Multiplier and Cohesion Multiplier add up to 1. Ensure your other property values are suitable and are not too wildly out of range. It is best to change values individually or in small groups rather than make lots of value changes which can easily lead to unexpected behaviour.

Q. Why are my CPU Boids travelling through objects?

  • Check your Terrain Mask is set to the same layer as the object you wish for your Boids to collide with.
  • Ensure the Raycast Distance is sufficiently long enough for each boid. I recommend atleast 50-100.
  • Ensure the Collision Adjustment field is sufficiently large enough. I recommend atleast 50.
  • Synchronous Raycast Type has the most accurate collision detection. If your problems occur on Asynchronous, perhaps switch to the former. Synchronous collisions are less performant however.

Q. I'm seeing the following error... MissingComponentException: There is no 'Renderer' attached to the "Boid" game object, but a script is trying to access it. What should I do to fix this?

The Use Default Material property on your BoidManager is checked. If you are using a custom boid prefab or custom materials you will need to uncheck this property.

Q. How do I decrease the area in which the Boids will move around in?

  1. Increase Local Area.
  2. Decrease No Clumping Area.
  3. Increase Target Point Multiplier.
  4. Decrease Repulsion area.