mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
9 lines
187 B
Lua
9 lines
187 B
Lua
function on_despawn()
|
|
print("despawn")
|
|
end
|
|
|
|
function on_grounded()
|
|
entity.transform:set_rot(mat4.rotate({0, 1, 0}, math.random()*360))
|
|
print(stdcomp)
|
|
entity:despawn()
|
|
end
|