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

19.11.14 shapes

shapeA, shapeB = physics.Arbiter:shapes()

Parameter

Type

Description

self

in physics.Arbiter

The input Arbiter

shapeA

out physics.Shape

The first Shape in the collision

shapeB

out physics.Shape

The second Shape in the collision

Returns shapeA and shapeB in the order they were defined in the collision handler associated with this Arbiter.

Introduced in platform.apiLevel = '2.0'