A sphere collision geometry.
new(radius:Float)
Creates a sphere collision geometry of radius radius.
radius
inlinegetRadius():Float
Returns the radius of the sphere.
inlinegetGjkMergin():Float
Returns the GJK mergin around the "core" of the convex geometry.
inlinesetGjkMergin(gjkMergin:Float):Void
Sets the GJK mergin around the "core" to gjkMergin.
gjkMergin
inlinegetType():Int
Returns the type of the collision geometry.
See GeometryType for details.
GeometryType
inlinegetVolume():Float
Returns the volume of the collision geometry.