minetest / minetest

Luanti (formerly Minetest) is an open source voxel game-creation platform with easy modding and game creation
https://www.minetest.net/
Other
10.75k stars 2.03k forks source link

First Person Wielditem Settable Rotation #10983

Open epCode opened 3 years ago

epCode commented 3 years ago

Problem

In It would be very helpful if you could rotate the First Person Wielditem when you are holding some items.

Solutions

a "player:set_wielditem_rotation({x=, y=, z=})" would be much apriciated.

LizzyFleckenstein03 commented 3 years ago

Maybe change the title to include "First person" to avoid confusion.

LizzyFleckenstein03 commented 3 years ago

I think an additional field wield_rotation in item definitions would be better than player:set_wielditem_rotation, because it's not affected by lag and it would be more consistent since there is a wield_scale field already.

amadin commented 3 years ago

would be much apriciated