I notice that nearly every behavior class UnitySteer has a tick parameter. What's that for? Does it override the default tick value set by the radar? And what does the priority value do?
asked Dec 29 '10 at 06:59 AM
You can look at the code. :-)
A Tick indicates how often should the behavior's value actually be refreshed. It acts as a sort of cache gateway, with the default of 0.1 stating don't update this value more than 10 times per second. In the case of the steering behaviors, that means that the force value won't get re-calculated at more than 10Hz, and for the radar that means that the radar's detected object list are clamped to that frequency.
The priority is not used yet on the public version of UnitySteer. It's meant for a load balancer component to decide how to lower or increase the tick value of a behavior, based on the situation.
answered Dec 29 '10 at 09:08 AM