A box collision geometry.
new(halfExtents:Vec3)
Creates a box collision geometry of half-extents halfExtents.
halfExtents
inlinegetHalfExtents():Vec3
Returns the half-extents of the box.
inlinegetHalfExtentsTo(halfExtents:Vec3):Void
Sets halfExtents to the half-extents of the box.
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.