Browse Source

Fix ladder detector regions for PotS exports.

pull/94/head
Joseph Davies 7 years ago
parent
commit
cb8011c135
Signed by untrusted user: Deledrius
GPG Key ID: 28ACC6E8D2B24B8A
  1. 4
      korman/properties/modifiers/avatar.py

4
korman/properties/modifiers/avatar.py

@ -77,6 +77,10 @@ class PlasmaLadderModifier(PlasmaModifierProperties):
simIface, physical = exporter.physics.generate_physical(bo, so, bounds, det_name) simIface, physical = exporter.physics.generate_physical(bo, so, bounds, det_name)
physical.memberGroup = plSimDefs.kGroupDetector physical.memberGroup = plSimDefs.kGroupDetector
physical.reportGroup |= 1 << plSimDefs.kGroupAvatar physical.reportGroup |= 1 << plSimDefs.kGroupAvatar
physical.setProperty(plSimulationInterface.kPinned, True)
simIface.setProperty(plSimulationInterface.kPinned, True)
if physical.mass == 0.0:
physical.mass = 1.0
@property @property
def requires_actor(self): def requires_actor(self):

Loading…
Cancel
Save