API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classCircleShape
@codexo/exojs-physics / physics / stable
A circle of the given `radius` centred on the collider's local origin. The cheapest shape for both broad- and narrow-phase.
4
props
0
methods
0
events
Import
import { CircleShape } from '@codexo/exojs-physics'A circle of the given `radius` centred on the collider's local origin. The cheapest shape for both broad- and narrow-phase.
Constructors1
new(radius: number): CircleShapeProperties4
boundingRadius: numberRadius of the smallest circle about the local origin enclosing the shape.
Area-based mass properties, or null for boundary geometry with no interior.
radius: numbertype: "circle"Source