Class CastRaySettingsInterface

Hierarchy (view full)

Properties

bpFilterLayer: number

Broadphase layer number for filtering.

Default Value

BP_LAYER_MOVING (1)
calculateNormal: boolean

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

Default Value

false
firstOnly: boolean

Whether to return only the first contact.

Default Value

true
ignoreBackFaces: boolean

If true, the ray will ignore shape backfaces.

Default Value

true
ignoreSensors: boolean

If true, the ray will ignore sensors.

Default Value

false
objFilterLayer: number

Object layer number for filtering.

Default Value

OBJ_LAYER_MOVING (1)
treatConvexAsSolid: boolean

If true, the convex shapes will be treated as "solid". That is, if a ray starts from inside a convex shape, it will report a contact.

Default Value

true