Sokomine / cottages

Minetest mod for building medieval houses
GNU General Public License v3.0
15 stars 19 forks source link

Wrong eyelevel on bench #31

Open axcore opened 3 months ago

axcore commented 3 months ago

When sitting on the bench (and in first-person view), the player can see "inside" the bench.

It's an easy fix, just tweak clicker:set_eye_offset() in nodes_furniture.lua. For example, I replaced

clicker:set_eye_offset({x=0,y=-7,z=2}, {x=0,y=0,z=0})

with

clicker:set_eye_offset({x=0,y=-3,z=2}, {x=0,y=0,z=0})