Poikilos / EnlivenMinetest

Minetest engine server management tools and ENLIVEN game installer/updater
Other
3 stars 0 forks source link

allow clicking bottom quarter of block to place stairs with correct orientation #292

Open Poikilos opened 5 years ago

Poikilos commented 5 years ago

Related issues:

Poikilos commented 5 years ago

@HenryNautilus can you test this?

slopsbucket commented 3 years ago

CaptPete (I think currently dead) also mentioned this issue regarding nodes from MoreBlocks, but there was never any such code in place. It comes from people not taking a lot of notice about exactly where they're pointing and what is really happening.

Moreblock nodes will try to marry up with each other, so if you use a screwdriver and raise a half_slab to the upper half of the nodespace, then add more half-slabs to the first, then they will all line up in the upper half of the nodespace.

The same applies when placing stairs upside down, etc.

Poikilos commented 3 years ago

I wasn't aware that moreblocks tries to determine the orientation of adjacent blocks. Thanks for that information. For further control such as when placing a node adjacent to a non-similar node, manual geometry in C++ on the client may be necessary to determine whether the top or bottom half or left or right half of that side were clicked. The lack of information that the mod uses or can use (but may be able to calculate based on the player's location and pitch relative to the targeted node) is also apparent in issue #372