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…
![project points to a plane using camera's right vectors](https://uploads.gamedev.net/forums/monthly_2022_09/16987007ff504bb4b936aac9f60a99aa.image.png)
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
![Vector Maths for Game Dev Beginners](https://uploads.gamedev.net/tutorials/monthly_2020_05/fc8dcc0a1c6042ab8e533b1ca9e0d957.image.jpg)
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 …