aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-04-11 15:32:46 +0200
committerBlockMen <nmuelll@web.de>2014-04-12 17:44:20 +0200
commitc0ab09af747fc431dfb459ede30788cb9cd1c56b (patch)
tree7355b0b349a6d188e6066c00c3b3ef9b0a76f33e /doc
parenta1db9242ec491efdee70a7184aa61e861b17595a (diff)
downloadminetest-c0ab09af747fc431dfb459ede30788cb9cd1c56b.tar.gz
minetest-c0ab09af747fc431dfb459ede30788cb9cd1c56b.tar.bz2
minetest-c0ab09af747fc431dfb459ede30788cb9cd1c56b.zip
Add player:set_eye_offset() by @MirceaKitsune and clean up
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index bfc12941b..b9865ae44 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1880,6 +1880,9 @@ Player-only: (no-op for other objects)
^ dig animation key frames
^ walk+dig animation key frames
^ animation frame speed
+- set_eye_offset({x=0,y=0,z=0},{x=0,y=0,z=0}): defines offset value for camera per player
+ ^ in first person view
+ ^ in third person view (max. values {x=-10/10,y=-10,15,z=-5/5})
InvRef: Reference to an inventory
methods: