You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > intersects

19.3.7 intersects

bool = physics.BB:intersects(other)

Parameter

Type

Description

self

in physics.BB

The input bounding box

other

in physics.BB

The other bounding box

bool

out boolean

True if self intersects the other bounding box

Determines if two bounding boxes intersect.

Introduced in platform.apiLevel = '2.0'