Skip to content

pickHit

pickHit(world, raycaster): EntityHit | null

Defined in: packages/engine/src/gameplay/entity/pick.ts:22

As pickEntity, with the world point where the ray meets it.

Parameter Type
world World
raycaster Raycaster

EntityHit | null