API

Interface PhysicsShapeParameters

Geometry parameters describing a collision shape; which fields apply depends on the shape type.

interface PhysicsShapeParameters {
    center?: Vec3;
    extents?: Vec3;
    pointA?: Vec3;
    pointB?: Vec3;
    radius?: number;
    rotation?: Quat;
}
Index
center?: Vec3
extents?: Vec3
pointA?: Vec3
pointB?: Vec3
radius?: number
rotation?: Quat