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

19.9.18 removeShape

self = physics.Space:removeShape(shape)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

shape

in physicsShape

A Shape to remove from the simulation Space

self

out physics.Space

The input Space is returned as the output

Removes a Shape from the Space. Returns self.

Introduced in platform.apiLevel = '2.0'