🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest vectormath Activity

Thank you guys. So this is “arrival behaviour” right? I've got it working now by setting the direction velocity to 0 if the npc is within 5px of it's target.

1,883 views
Advertisement

A major part of gameplay is making sure objects are at the right places at the right times. This means you must understand the mechanisms behind how objects in a scene are placed at a particular position. You need to know how to do stuff like program a door to swing open when activated, or calculat…

3,886 views
Advertisement
Advertisement