Pergunta de entrevista da empresa Naughty Dog

What does it mean to normalize a vector and what are some applications for making games?

Resposta da entrevista

Sigiloso

22 de jun. de 2020

Take the vector and divide by the magnitude of that vector, this will give you a vector that is called a unit vector which means its length is 1. The reason we do this is so everything is in terms of a unit value 1 which makes scaling a vector very nice. Some applications for games: anything that requires you to scale a vector proportionally.