Scene.attachCollider

scene.attachCollider
Generates and attaches a collider object of the type specified (currently limited to spheres) to the object with the id specified. Format is:

scene.attachCollider(integer id, table entity)

Usage:

When a collision is registered, the Loon system attempts to call a Lua function called onCollide(...), which should exist in the table passed in as the second argument.

Example
Put some example code here.