EntityBox
Defined in: ecs/entityBox.ts:36
An oriented box in world units: a centre, half-extents along its own three axes, and the rotation that turns those axes into the world’s.
A sprite, a UI node and any other quad have hd zero — they are flat, and a
box given thickness they do not have is hit by a ray that passes in front.
Properties
Section titled “Properties”cx:
number
Defined in: ecs/entityBox.ts:37
cy:
number
Defined in: ecs/entityBox.ts:38
cz:
number
Defined in: ecs/entityBox.ts:39
hd:
number
Defined in: ecs/entityBox.ts:42
hh:
number
Defined in: ecs/entityBox.ts:41
hw:
number
Defined in: ecs/entityBox.ts:40
rot:
Quat
Defined in: ecs/entityBox.ts:43