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

19.3.6 expand

bb = physics.BB:expand(vec)

Parameter

Type

Description

self

in physics.BB

The input bounding box

vec

in physics.Vect

A vector

bb

out physics.BB

The bounding box self expanded to include vector vec

Returns the bounding box that contains both self and vec.

Introduced in platform.apiLevel = '2.0'