collisionShape property

Shape get collisionShape

The matching physics collision shape. A flat disc has no volume, so this is a thin CylinderShape (a coin). See discCollisionShape.

Implementation

Shape get collisionShape => discCollisionShape(radius: _radius);