clearCollision(clearGroup, clearMask, shape)
Clears the collision data from the shapes in this Body. Optionally clears Group and/or Mask.
Parameters
Name Type Argument Default Description clearGroup boolean <optional> true Clear the collisionGroup value from the shape/s? clearMask boolean <optional> true Clear the collisionMask value from the shape/s? shape p2.Shape <optional> An optional Shape. If not provided the collision data will be cleared from all Shap