Browse Source

Fix kickables in subworlds.

pull/235/head
Adam Johnson 3 years ago
parent
commit
59d852d330
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 4
      korman/exporter/physics.py

4
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:

Loading…
Cancel
Save