Skip to content

RaycastOpts

Defined in: packages/threeplay/src/plugins/physics/types.ts:155

Options of raycast().

optional exclude?: GameObj[]

Defined in: packages/threeplay/src/plugins/physics/types.ts:157

Ignore these objects.


optional sensors?: boolean

Defined in: packages/threeplay/src/plugins/physics/types.ts:161

Include sensors (default false).


optional tag?: string

Defined in: packages/threeplay/src/plugins/physics/types.ts:159

Only hit objects with this tag.