I'm fairly sure the doors are a mesh, so it's easier to create textures for them as a single object. The object collision and selection box are the size of the door, so the only second node code is just for a small invisible node that is placed to prevent any nodes from being placed in the top half of the door.
I have no experience with minetest.find_path, so I can't answer that.
Beyond 1 m³
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: Beyond 1 m³
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- v-rob
- Developer
- Posts: 970
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: Beyond 1 m³
minetest.find_path is very naive: it doesn't take into account even layers of snow on the ground, which are obviously walkable across, but the pathfinder acts as though they are solid. In other words, it has no notion of collision boxes whatsoever, only full and empty nodes.
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests