mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-16 16:46:07 +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
|
// 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 = ""
|
||||||
|
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user