19.9.6
addShape
self = physics.Space:addShape(shape)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Space |
The input simulation Space |
shape |
in physics.Shape |
Adds the Shape to the simulation Space |
self |
out physics.Space |
The input Space is returned as the output |
Adds a Shape to the Space. Returns self.
Introduced in platform.apiLevel = '2.0'