Browse Source

Set collideGroup along with memberGroup per dpogue

pull/321/head
Patrick Dulebohn 3 years ago
parent
commit
9d0e478261
  1. 3
      korman/exporter/physics.py

3
korman/exporter/physics.py

@ -174,7 +174,8 @@ class PhysicsConverter:
_set_phys_prop(plSimulationInterface.kStartInactive, simIface, physical, _set_phys_prop(plSimulationInterface.kStartInactive, simIface, physical,
value=mod.start_asleep) value=mod.start_asleep)
elif mod.dynamic_blocker and not mod.avatar_blocker: elif mod.dynamic_blocker and not mod.avatar_blocker:
physical.memberGroup = plSimDefs.kGroupDynamicBlocker physical.collideGroup = (1 << plSimDefs.kGroupDynamic)
physical.memberGroup = plSimDefs.kGroupDynamic
elif not mod.avatar_blocker and not mod.dynamic_blocker: elif not mod.avatar_blocker and not mod.dynamic_blocker:
physical.memberGroup = plSimDefs.kGroupLOSOnly physical.memberGroup = plSimDefs.kGroupLOSOnly
else: else:

Loading…
Cancel
Save