createCircleShape

expect fun createCircleShape(def: ShapeDef, circle: Circle): Shape

Create a circle shape and attach it to this body.

Return

The created shape

Parameters

def

The shape definition (density, friction, etc.)

circle

The circle geometry