mirror of
https://github.com/minetest/minetest.git
synced 2025-07-01 23:50:22 +02:00
Add support for attached facedir/4dir nodes (#11432)
This commit is contained in:
@ -1890,9 +1890,16 @@ to games.
|
||||
|
||||
### Node-only groups
|
||||
|
||||
* `attached_node`: if the node under it is not a walkable block the node will be
|
||||
dropped as an item. If the node is wallmounted the wallmounted direction is
|
||||
checked.
|
||||
* `attached_node`: the node is 'attached' to a neighboring node. It checks
|
||||
whether the node it is attached to is walkable. If it
|
||||
isn't, the node will drop as an item.
|
||||
* `1`: if the node is wallmounted, the node is attached in the wallmounted
|
||||
direction. Otherwise, the node is attached to the node below.
|
||||
* `2`: if the node is facedir or 4dir, the facedir or 4dir direction is checked.
|
||||
No effect for other nodes.
|
||||
Note: The "attaching face" of this node is tile no. 5 (back face).
|
||||
* `3`: the node is always attached to the node below.
|
||||
* `4`: the node is always attached to the node above.
|
||||
* `bouncy`: value is bounce speed in percent.
|
||||
If positive, jump/sneak on floor impact will increase/decrease bounce height.
|
||||
Negative value is the same bounciness, but non-controllable.
|
||||
|
Reference in New Issue
Block a user