Rotate optics and doors from NodeCore with ease.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# NodeCore Extended Rotating
|
|
|
|
|
|
|
|
This mod follows in the footsteps of the useful [Extended Placement] mod for
|
|
|
|
[Minetest] and adds the ability to rotate certain nodes from [NodeCore] such
|
|
|
|
as optics and doors easily, without having to cycle through all possible
|
|
|
|
rotations every time.
|
|
|
|
|
|
|
|
Rotating a node can be done in two ways, either by clicking the center or the
|
|
|
|
edge of a face. By interacting with the center, the node rotates around that
|
|
|
|
face. When interacting with the edge, the node is "pushed" that way, rotating
|
|
|
|
away from you. Sneaking inverts the direction of the rotation.
|
|
|
|
|
|
|
|
At this time, nodes that can be rotated are hardcoded into the mod, since
|
|
|
|
their valid orientations can't be easily extracted. A function mimicking
|
|
|
|
NodeCore's own rotation logic has to be provided.
|
|
|
|
|
|
|
|
[Minetest]: https://www.minetest.net/
|
|
|
|
[NodeCore]: https://content.minetest.net/packages/Warr1024/nodecore/
|
|
|
|
[Extended Placement]: https://content.minetest.net/packages/gamefreq0/extended_placement/
|