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

19.9.23 setData

self = physics.Space:setData(obj)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

obj

in Lua object

The data object to be sent

self

out physics.Space

The input Space is returned as the output

The programmer can store any Lua object in this field.

Introduced in platform.apiLevel = '2.0'