Difference between revisions of "Shape:setData"
m (1 revision: Importing from potato (again).) |
|
(No difference)
|
Revision as of 16:18, 14 February 2010
Set data to be passed to the collision callback.
When a shape collides, the value set here will be passed to the collision callback as one of the parameters. Typically, you would want to store a table reference here, but any value can be used.
Function
Synopsis
Shape:setData( v )
Arguments
any v
- Any Lua value.
Returns
Nothing.