rigidBody

fun rigidBody(canvas: Canvas, world: PhysicsWorld, body: RigidBody, color: Color)(source)

Fills every shape of body of world in color and outlines it, with a spoke on each round shape so its turning shows; with details, also marks its centre of mass. A sleeping body is drawn faded, half way to the background.