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

19.3.4 containsBB

bool = physics.BB:containsBB(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 completely contains the other bounding box

Determines if a bounding box contains another bounding box.

Introduced in platform.apiLevel = '2.0'