yuni
dd49906cce
In typical games we would normalize the input vector so that diagonal movement is as fast as forward or sideways movement. But here, we merely clamp each direction to an absolute maximum of 1, since every thruster can be used separately. If the forward thrusters and the leftward thrusters are active at the same time, then of course the total diagonal acceleration is faster than the forward acceleration alone. |
||
---|---|---|
.. | ||
actor.rs | ||
audio.rs | ||
camera.rs | ||
defs.txt | ||
hud.rs | ||
main.rs | ||
nature.rs | ||
settings.rs | ||
world.rs |