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

19.9.19 removeStaticShape

physics.Space:removeStaticShape(staticShape)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

staticShape

in physicsShape

A static Shape to remove from the simulation Space

self

out physics.Space

The input Space is returned as the output

Removes a static Shape from the Space. Returns self.

Introduced in platform.apiLevel = '2.0'