#NVJOB Simple Boids (Component Settings)

#NVJOB Simple Boids. Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

Description of component settings. There are already two prefabs in the asset, with settings for birds and fish, you can also explore examples.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

General Settings
Behavioral Ch - random time of changing the behavior of flocks and objects in a flock. Set the minimum and maximum value.
Debug - enable flock target position display.

Flock Settings
Flock Num - the number of flocks within this script.
Fragmented Flock - scatter of targets for flocks, relative to the object to which the component is attached.
Fragmented Flock Y Limit - limit the scatter of targets along the Y axis. This is a multiplier (this value * fragmentedFlock.y).
Migration Frequency - frequency of migration from one flock to another, from 0 to 1. The higher the value, the more often the migration.
Pos Change Frequency - frequency of change position of target for flock, from 0 to 1. The larger the value, the more often the position changes.
Smooth Ch Frequency - smoothing the change in position of the target for flock. This is necessary so that there is no sharp change in the direction of movement of the flock.

Bird Settings
Bird Pref - prefab object that will be in a flock.
Birds Num - the number of objects in total in all flocks.
Bird Speed - the speed of objects in flocks, this value is multiplied by the random speed of a particular object (from 3 to 7).
Fragmented Birds - scatter of objects inside the flock.
Fragmented Birds Y Limit - limit the scatter of objects within the flock along the Y axis. This is a multiplier (this value * fragmentedBirds.y).
Soaring - soaring object. The lower the value, the more soaring. For sharp turns, increase the value.
Vertical Wawe - swinging an object along the Y axis.
Rotation Clamp - enables the restriction of rotation of the object along the X axis. Prevents a strong turn up or down. This option imposes certain costs on performance.
Rotation Clamp Value - value of the rotation angle limit up and down.
Scale Random - local random size of the object in the flock. Set the minimum and maximum value.

Danger Settings
Danger - enable danger detection. Also, one collider is turned on, for the hunter to detect flocks. Danger is determined by one script, for one flock. See the "Fish Boids Danger" example.
Danger Radius - radius of danger detection.
Danger Speed - change in the speed of objects in a flock when danger is detected. This is a multiplier (this value * birdSpeed).
Danger Soaring - change in the soaring of objects when danger is detected. This is a multiplier (this value * soaring).
Danger Layer - LayerMask of the object being the danger.
(C) Copyright 2016 #NVJOB. Contact: nvjob.dev@gmail.com
Nicholas Veselov - independent software and assets developer
Разработчик Николай Веселов Санкт-Петербург