A sphere collision geometry.

Constructor

new(radius:Float)

Creates a sphere collision geometry of radius radius.

Methods

inlinegetRadius():Float

Returns the radius of the sphere.

Inherited Variables

Inherited Methods

Defined by ConvexGeometry

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.

Defined by Geometry

inlinegetType():Int

Returns the type of the collision geometry.

See GeometryType for details.

inlinegetVolume():Float

Returns the volume of the collision geometry.