particles when actors collide the world

This commit is contained in:
minjaesong
2023-10-14 02:26:13 +09:00
parent d8abec381b
commit 65997764e6
3 changed files with 110 additions and 11 deletions

View File

@@ -95,7 +95,7 @@ class EntryPoint : ModuleEntryPoint() {
private fun makeNewItemObj(tile: BlockProp, isWall: Boolean) = object : GameItem(
if (isWall) "wall@"+tile.id else tile.id
) {
override var baseMass: Double = tile.density / 1000.0
override var baseMass: Double = tile.density / 100.0
override var baseToolSize: Double? = null
override var inventoryCategory = if (isWall) Category.WALL else Category.BLOCK
override var isDynamic = false