ricardojmendez / UnitySteer

Steering, obstacle avoidance and path following behaviors for the Unity Game Engine
https://numergent.com/tags/unitysteer/
Other
1.21k stars 277 forks source link

Basic vs Post-Processing behaviors #57

Closed jhclaura closed 7 years ago

jhclaura commented 7 years ago

First all, thank you so much for making + sharing UnitySteer!

I have question between Basic & Post-Processing behaviors, is Post-Processing behavior design to overwrite the Basic one? In the funciont CalculateForces() of TickedVehicle.cs, the adjustedVelocity will overwrite newVelocity to be the TargetSpeed. So I'm just curious about the intention, and wondering if you have any tips to find the balance between different behaviors, or any resources about learning the theory. Thanks!

jhclaura commented 7 years ago

Found a good one by Craig Reynolds (sorry I probably shouldn't post it here, just thought others might be interested to know)

ricardojmendez commented 7 years ago

Hi Laura,

You can find about post-processing behaviors on #53. I'll also look into an old article I had about it and re-post it on the site.

About the balance... it really depends on what you're aiming for. Craig Reynolds' recommendations should definitely be taken as a canonical reference.

Cheers!

jhclaura commented 7 years ago

Thanks for the link! Much appreciated!