circle

fun circle(radius: Float, segments: Int, coreMass: Float): SoftBodyShape(source)

Returns a ball: segments points around a circle of radius, with the core in the middle.

Throws

if radius is not more than 0, there are fewer than 3 segments, or coreMass is not more than 0.