Latest vectors 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.
Jvdicator said:
I know it's a lame way to do stuff …
Nonsense! It's the use of a tool, the application of a previously-solved problem to simplify the current problem.
After all, if we always required ourselves to solve things from first principles, then we'd likely not have most of the technology that…
nvm, i found my solution after resting my eyes,
i need to use the plane normal cross product with the look (camera position - center) and i get my right vector I can use to position base on the plane's dimension. ?
I cant seem to delete a thread i created
Many people who want to make games wonder: how much math do I need to know? The answer might surprise them: really not that much and what you do need is a lot of fun.
Mastering how to work with vectors in game engines is one of the core building blocks to becoming a great games programmer and gives …