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.
7
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.
Constructors 1
new(radius: number): CircleShape Properties 7
area: number boundingRadius: number centroidX: 0 centroidY: 0 radius: number type: "circle" unitInertia: number Source