collisionShape property
The matching physics collision shape, a box of half the cuboid's extents centered on the local origin.
Implementation
Shape get collisionShape => cuboidCollisionShape(_extents);
The matching physics collision shape, a box of half the cuboid's extents centered on the local origin.
Shape get collisionShape => cuboidCollisionShape(_extents);