1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Added pitch fly mode (#7817)

In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly.
It allows smoother and more complex movements.
Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
This commit is contained in:
Gaël C 2018-12-01 10:01:32 +01:00 committed by SmallJoker
parent dcf58a3ad0
commit 327bad2eaf
11 changed files with 91 additions and 44 deletions

View file

@ -26,6 +26,10 @@
# type: bool
# free_move = false
# If enabled together with fly mode, makes move directions relative to the player's pitch.
# type: bool
# pitch_fly = false
# Fast movement (via the "special" key).
# This requires the "fast" privilege on the server.
# type: bool
@ -194,6 +198,11 @@
# type: key
# keymap_freemove = KEY_KEY_K
# Key for toggling pitch fly mode.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
# keymap_pitchfly = KEY_KEY_L
# Key for toggling fast mode.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key