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

19.3.9 merge

bb = physics.BB:merge(other)

Parameter

Type

Description

self

in physics BB

The input bounding box

other

in physics.BB

The other bounding box

bb

out physics.BB

The bounding box that contains both self and the other bound-ing box

Returns the bounding box that contains both self and the other bounding box.

Introduced in platform.apiLevel = '2.0'