dropped items should collide with the platform

This commit is contained in:
minjaesong
2024-02-17 23:17:01 +09:00
parent 4a375ec5a3
commit 3bee121686
3 changed files with 5 additions and 3 deletions

View File

@@ -73,8 +73,8 @@ basegame
// Commit counts up to the Release 0.3.3: 3020 // Commit counts up to the Release 0.3.3: 3020
// val VERSION_SNAPSHOT = Snapshot(0) // for normal dev // val VERSION_SNAPSHOT = Snapshot(0) // for normal dev
// val VERSION_SNAPSHOT = ForcedSnapshot("24w07b") // for snapshot release val VERSION_SNAPSHOT = ForcedSnapshot("24w07c") // for snapshot release
val VERSION_SNAPSHOT = null // for the release // val VERSION_SNAPSHOT = null // for the release
const val VERSION_TAG: String = "" const val VERSION_TAG: String = ""

View File

@@ -4,7 +4,7 @@ data class PhysProperties(
val immobileBody: Boolean = false, val immobileBody: Boolean = false,
var usePhysics: Boolean = true, var usePhysics: Boolean = true,
val useStairs: Boolean = false, val useStairs: Boolean = false,
val ignorePlatform: Boolean = true var ignorePlatform: Boolean = true
) { ) {
companion object { companion object {
fun HUMANOID_DEFAULT() = PhysProperties( fun HUMANOID_DEFAULT() = PhysProperties(

View File

@@ -88,6 +88,8 @@ open class DroppedItem : ActorWithBody {
actorValue.set(AVKey.FALLDAMPENMULT, 0.1) actorValue.set(AVKey.FALLDAMPENMULT, 0.1)
printdbg(this, "DroppedItem with itemID '${itemID}'") printdbg(this, "DroppedItem with itemID '${itemID}'")
physProp.ignorePlatform = false
} }