diff --git a/PlatformPhysics.py b/PlatformPhysics.py index 5381892248..4c76a035e9 100644 --- a/PlatformPhysics.py +++ b/PlatformPhysics.py @@ -24,6 +24,9 @@ class PlatformPhysics: continue bbox = node.getBoundingBox() + if not bbox or not bbox.isValid(): + continue + if not Float.fuzzyCompare(bbox.bottom, 0.0): self._signal_source = node op = PlatformPhysicsOperation(node, Vector(0, -bbox.bottom, 0))