easy5 pts · first answer countsgame-physicsvectorsdebugging
Normalising a zero vector
Player input is (0, 0) when no keys are pressed. Your code always normalises it. What can go wrong?
Discussion 0
Join free to post in the discussion.
Related questions
- Health ratio is always zeroGame Developer
- Seeing why AI behaves oddlyGame Developer
- Direction from enemy to playerGame Developer
- Distance between two pointsGame Developer
- Cheaper range checksGame Developer
- Speed after fallingGame Developer
- What a unit vector isGame Developer
- 90 degrees in radiansGame Developer