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

19.3.10 setb

self = physics.BB:setb(bottom)

Parameter

Type

Description

self

in physics.BB

The input bounding box

bottom

in number

The new value for the bottom edge of the bounding box

self

out physics.BB

The input bounding box is returned as the output

Sets the bottom edge of the bounding box to a new value. Returns self.

Introduced in platform.apiLevel = '2.0'