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

19.9.21 resizeStaticHash

self = physics.Space:resizeStaticHash(dim, count)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

dim

in number

The length of one side of a hash cell. Default is 100 count

count

in number

The number of cells in the hash table. Default is 1000

self

out physics.Space

The input Space is returned as the output

This routine configures the spatial hash of static Shapes. Configure this similarly to resizeActiveHash but for static Shapes.

.Introduced in platform.apiLevel = '2.0'