readColliderShapes
此内容尚不支持你的语言。
readColliderShapes(
world,entity):ColliderInstance[]
Defined in: physics/ColliderShape.ts:135
Read every collider component present on entity into shape descriptors, in the same
order PhysicsSystem’s addShapeForEntity dispatches (box, circle, capsule, segment,
polygon, chain). Chain has no sensor flag, so it reports isSensor: false.
Parameters
Section titled “Parameters”entity
Section titled “entity”number