mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
dropped items should collide with the platform
This commit is contained in:
@@ -73,8 +73,8 @@ basegame
|
||||
// Commit counts up to the Release 0.3.3: 3020
|
||||
|
||||
// val VERSION_SNAPSHOT = Snapshot(0) // for normal dev
|
||||
// val VERSION_SNAPSHOT = ForcedSnapshot("24w07b") // for snapshot release
|
||||
val VERSION_SNAPSHOT = null // for the release
|
||||
val VERSION_SNAPSHOT = ForcedSnapshot("24w07c") // for snapshot release
|
||||
// val VERSION_SNAPSHOT = null // for the release
|
||||
|
||||
const val VERSION_TAG: String = ""
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ data class PhysProperties(
|
||||
val immobileBody: Boolean = false,
|
||||
var usePhysics: Boolean = true,
|
||||
val useStairs: Boolean = false,
|
||||
val ignorePlatform: Boolean = true
|
||||
var ignorePlatform: Boolean = true
|
||||
) {
|
||||
companion object {
|
||||
fun HUMANOID_DEFAULT() = PhysProperties(
|
||||
|
||||
@@ -88,6 +88,8 @@ open class DroppedItem : ActorWithBody {
|
||||
actorValue.set(AVKey.FALLDAMPENMULT, 0.1)
|
||||
|
||||
printdbg(this, "DroppedItem with itemID '${itemID}'")
|
||||
|
||||
physProp.ignorePlatform = false
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user