x


UnitySteer tick question

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?

more ▼

asked Dec 29 '10 at 06:59 AM

Pat gravatar image

Pat
56 7 7 9

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Dec 29 '10 at 09:08 AM

Ricardo gravatar image

Ricardo
5.2k 20 32 96

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x42

asked: Dec 29 '10 at 06:59 AM

Seen: 761 times

Last Updated: Dec 29 '10 at 06:59 AM