Hey, I’m trying to pass two different parameters in a function. The function is called like this:
[lua]
function onCollision( self, event )
[/lua]
The problem is, when the function is called, it returns this error: attempt to index local “event” a nil value. I know why, I think it’s because of the comma. But I’ve read documentation and that’s how you’re supposed to do it, any help?