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

19.9.14 rehashShape

self = physics.Space:rehashShape(shape)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

shape

in shape

The shape to rehash

self

out physics.Space

The input Space is returned as the output

Update an individual static shape that has moved. Returns self.

Introduced in platform.apiLevel = '2.0'