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:
@@ -72,6 +72,9 @@ enable_build_where_you_stand (Build inside player) bool false
|
||||
# This requires the "fly" privilege on the server.
|
||||
free_move (Flying) bool false
|
||||
|
||||
# If enabled together with fly mode, makes move directions relative to the player's pitch.
|
||||
pitch_fly (Pitch fly mode) bool false
|
||||
|
||||
# Fast movement (via the "special" key).
|
||||
# This requires the "fast" privilege on the server.
|
||||
fast_move (Fast movement) bool false
|
||||
@@ -208,6 +211,10 @@ keymap_rangeselect (Range select key) key KEY_KEY_R
|
||||
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||
keymap_freemove (Fly key) key KEY_KEY_K
|
||||
|
||||
# Key for toggling pitch fly mode.
|
||||
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||
keymap_pitchfly (Pitch fly key) key KEY_KEY_L
|
||||
|
||||
# Key for toggling fast mode.
|
||||
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||
keymap_fastmove (Fast key) key KEY_KEY_J
|
||||
|
Reference in New Issue
Block a user