Collider3DShape
Collider3DShape =
object& ({center:Vec3;halfExtents:Vec3;kind:"box"; } | {center?:Vec3;kind:"sphere";radius:number; } | {center?:Vec3;halfHeight:number;kind:"capsule";radius:number; })
Defined in: sdk/src/physics3d/ColliderShape3D.ts:42
A 3D collider’s geometry in entity-local space, in world units.
Type Declaration
Section titled “Type Declaration”rotation?
Section titled “rotation?”
optionalrotation?:Quat