Functions
Link copied to clipboard
fun semiDisc(radius: Float, arcSegments: Int, baseSegments: Int, coreMass: Float, heightScale: Float = 1.0f): SoftBodyShape
Returns a slime: a half-disc of radius, arcSegments segments over the dome from the left end to the right, then baseSegments along the flat base back, with the dome stretched heightScale times taller and the core where the half-disc's centre of mass is. Pass the arguments by name.