API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

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): CircleShape
Properties4
boundingRadius: number
Radius of the smallest circle about the local origin enclosing the shape.
radius: number
type: "circle"
Source