From 59d852d3306e1169e8e75a3b4e7f963bc9551411 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 17 Feb 2021 18:29:07 -0500 Subject: [PATCH] Fix kickables in subworlds. --- korman/exporter/physics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/korman/exporter/physics.py b/korman/exporter/physics.py index 3806342..4692354 100644 --- a/korman/exporter/physics.py +++ b/korman/exporter/physics.py @@ -210,7 +210,9 @@ class PhysicsConverter: bo_xformed = bo.plasma_object.has_transform_animation # Always pin these objects - otherwise they may start falling through the floor. - _set_phys_prop(plSimulationInterface.kPinned, simIface, physical) + # Unless you've marked it kickable... + if not mod.dynamic: + _set_phys_prop(plSimulationInterface.kPinned, simIface, physical) # MOUL: only objects that have animation data are kPhysAnim if ver != pvMoul or bo_xformed: