1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-05 23:25:24 +01:00

Allow rotating entity selectionboxes (#12379)

This commit is contained in:
Lars Müller
2022-10-30 16:53:14 +01:00
committed by GitHub
parent b829231992
commit 077627181e
18 changed files with 271 additions and 58 deletions

View File

@@ -35,6 +35,7 @@ struct ObjectProperties
// Values are BS=1
aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
bool rotate_selectionbox = false;
bool pointable = true;
std::string visual = "sprite";
std::string mesh = "";