Class CastSettingsInterface

Hierarchy (View Summary)

Properties

bpFilterLayer: number

Broadphase layer number for filtering.

BP_LAYER_MOVING (1)
calculateNormal: boolean

If true, will calculate and add to results a contact normal at contact point.

false
firstOnly: boolean

Whether to return only the first contact.

true
ignoreSensors: boolean

If true, the ray will ignore sensors.

false
immediate: boolean

Whether to make a query and return the results immediately. Only supported when physics is running on main thread.

true
objFilterLayer: number

Object layer number for filtering.

OBJ_LAYER_MOVING (1)