Beyond 1 m³

Post Reply
User avatar
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³

by Nathan.S » Post

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
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³

by v-rob » Post

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.
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests