Browse Source

Fix kickables in subworlds.

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

2
korman/exporter/physics.py

@ -210,6 +210,8 @@ class PhysicsConverter:
bo_xformed = bo.plasma_object.has_transform_animation bo_xformed = bo.plasma_object.has_transform_animation
# Always pin these objects - otherwise they may start falling through the floor. # Always pin these objects - otherwise they may start falling through the floor.
# Unless you've marked it kickable...
if not mod.dynamic:
_set_phys_prop(plSimulationInterface.kPinned, simIface, physical) _set_phys_prop(plSimulationInterface.kPinned, simIface, physical)
# MOUL: only objects that have animation data are kPhysAnim # MOUL: only objects that have animation data are kPhysAnim

Loading…
Cancel
Save