mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 02:19:44 +00:00
add 'uv-lock' block property
This commit is contained in:
parent
c2777eba09
commit
463a439089
8 changed files with 131 additions and 12 deletions
|
|
@ -154,6 +154,7 @@ void Block::cloneTo(Block& dst) {
|
|||
dst.replaceable = replaceable;
|
||||
dst.breakable = breakable;
|
||||
dst.rotatable = rotatable;
|
||||
dst.uvLock = uvLock;
|
||||
dst.grounded = grounded;
|
||||
dst.hidden = hidden;
|
||||
dst.rotations = rotations;
|
||||
|
|
|
|||
|
|
@ -250,6 +250,10 @@ public:
|
|||
/// @brief Can the block be oriented different ways
|
||||
bool rotatable = false;
|
||||
|
||||
/// @brief Keep custom model textures aligned to world axes
|
||||
/// when the block is rotated
|
||||
bool uvLock = false;
|
||||
|
||||
/// @brief Can the block exist without physical support be a solid block
|
||||
/// below
|
||||
bool grounded = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue