From c0ab09af747fc431dfb459ede30788cb9cd1c56b Mon Sep 17 00:00:00 2001 From: BlockMen Date: Fri, 11 Apr 2014 15:32:46 +0200 Subject: Add player:set_eye_offset() by @MirceaKitsune and clean up --- doc/lua_api.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/lua_api.txt') 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: -- cgit v1.2.3