Browse Source

Merge pull request #94 from Deledrius/ladder_pots_fix

Fix ladder detector regions for PotS exports.
pull/97/head
Adam Johnson 7 years ago committed by GitHub
parent
commit
0ed6ddd34f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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