Demo for a steering behavior which is much more natural than strictly following a position. This works for example especially well for enemies in a top-down game.
Hold mouse down to change the direction
Press space to toggle drawing vectors
(red - velocity, blue - desired velocity, green - steer velocity)
Created
June 14, 2022
Last updated
July 6, 2022
Published
June 14, 2022