Vector Functions

This section explains vectors and lists some vector based functions

For an explanation of vectors and normalised vectors you can read the following two sections which give a brief overview of what is a vector and how it can be used in making games:

  1. What Is A Vector?
  2. Normalised Vectors

GameMaker: Studio also has a number of vector-based functions, listed below:

  1. point_direction
  2. point_distance
  3. point_distance_3d
  4. dot_product
  5. dot_product_normalised
  6. dot_product_3d
  7. dot_product_3d_normalised
  8. angle_difference

Back: Maths
© Copyright YoYo Games Ltd. 2018 All Rights Reserved