19.9.7 addStaticShape

self = physics.Space:addStaticShape(staticShape)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

staticShape

in physics.Shape

Adds the static Shape to the simulation Space

self

out physics.Space

The input Space is returned as the output

Adds a static Shape to the Space. Returns self.

Introduced in platform.apiLevel = '2.0'