mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
make base:falling_block solid entity
This commit is contained in:
parent
83f49f8cc4
commit
35d2ea4c86
2 changed files with 3 additions and 1 deletions
|
|
@ -3,5 +3,6 @@
|
||||||
"base:falling_block"
|
"base:falling_block"
|
||||||
],
|
],
|
||||||
"skeleton-name": "base:block",
|
"skeleton-name": "base:block",
|
||||||
"hitbox": [0.98, 0.98, 0.98]
|
"hitbox": [0.98, 0.98, 0.98],
|
||||||
|
"solid": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ do -- setup visuals
|
||||||
0, 0, 0, 1
|
0, 0, 0, 1
|
||||||
}
|
}
|
||||||
rig:set_matrix(0, matrix)
|
rig:set_matrix(0, matrix)
|
||||||
|
body:set_material(block.material(id))
|
||||||
end
|
end
|
||||||
|
|
||||||
function on_grounded()
|
function on_grounded()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue