Skip to main content
replaced http://gamedev.stackexchange.com/ with https://gamedev.stackexchange.com/
Source Link

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer hereanswer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the u,v,w directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the u,v,w directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the u,v,w directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

edited body
Source Link
concept3d
  • 12.7k
  • 4
  • 45
  • 57

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the xu,yv,zw directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the x,y,z directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the u,v,w directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

added 35 characters in body
Source Link
concept3d
  • 12.7k
  • 4
  • 45
  • 57

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the x,y,z directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on XX axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Another sit

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the x,y,z directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Another sit

Vector projection means finding the components of vector a that are in the same direction of vector b. Check my answer here for how to do it.

enter image description here

Not only vector projection is important in game dev but vector decomposition in general, where you have a vector and you need to decompose it into 3(or 2) separate vectors in the x,y,z directions.

For example in order to find a local frame of reference (read: object space/coordinates) you often need to find three linearly independent vectors which form the frame of reference. You can start by finding the projection on X axis (or the local u direction) and then continue with cross product to find the third vector. The final step would to cross product the result two vectors from the previous operations.

Another situation in physics simulation you will often have force vectors that you need to find their sum in each direction, you cannot do that unless you do vector decomposition.

Source Link
concept3d
  • 12.7k
  • 4
  • 45
  • 57
Loading