diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-03-17 12:16:57 +0100 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-17 11:39:35 -0400 |
commit | 7f51b2da28e004b82fc6835e5257e619da4666b2 (patch) | |
tree | 929ea44441822f0883fe9f5bd7521a465d128b7b /doc | |
parent | c00c8832c6c8cf9a0089a486d026d829e82741a9 (diff) | |
download | minetest-7f51b2da28e004b82fc6835e5257e619da4666b2.tar.gz minetest-7f51b2da28e004b82fc6835e5257e619da4666b2.tar.bz2 minetest-7f51b2da28e004b82fc6835e5257e619da4666b2.zip |
lua methods set_look_pitch and set_look_yaw
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index eb05d117e..7d8fa149f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1228,6 +1228,8 @@ Player-only: (no-op for other objects) - get_look_dir(): get camera direction as a unit vector - get_look_pitch(): pitch in radians - get_look_yaw(): yaw in radians (wraps around pretty randomly as of now) +- set_look_pitch(radians): sets look pitch +- set_look_yaw(radians): sets look yaw - set_inventory_formspec(formspec) ^ Redefine player's inventory form ^ Should usually be called in on_joinplayer |