easy5 pts · first answer countsvector-mathinput
Faster diagonal movement
A player moves using input vector (x, y) where x and y are -1, 0 or 1. Moving diagonally is about 41% faster. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Is the enemy in front of the playerGame Developer
- Length of a 2D vectorGame Developer
- Input actions instead of keysGame Developer
- What a surface normal isGame Developer
- Jump pressed just before landingGame Developer
- Jumping just after leaving a ledgeGame Developer
- Letting players rebind keysGame Developer
- Clicking pause also fires a shotGame Developer