Browse Source

Fix kickables falling through the Age in PotS.

pull/172/head
Adam Johnson 5 years ago
parent
commit
d0c8411b6d
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/properties/modifiers/physics.py

2
korman/properties/modifiers/physics.py

@ -68,6 +68,8 @@ class PlasmaCollider(PlasmaModifierProperties):
# Collision groups and such # Collision groups and such
if self.dynamic: if self.dynamic:
if exporter.mgr.getVer() < pvMoul:
physical.collideGroup = (1 << plSimDefs.kGroupDynamic) | (1 << plSimDefs.kGroupStatic)
physical.memberGroup = plSimDefs.kGroupDynamic physical.memberGroup = plSimDefs.kGroupDynamic
physical.mass = self.mass physical.mass = self.mass
_set_phys_prop(plSimulationInterface.kStartInactive, simIface, physical, value=self.start_asleep) _set_phys_prop(plSimulationInterface.kStartInactive, simIface, physical, value=self.start_asleep)

Loading…
Cancel
Save