We will use this method to fire a timer that will switch the ID of an object. The ID is important for our collision checks. As we don't want to check the collision right away, we use a timer for a little delay:
OnObjectTransitionmethod, create an object timer with the game's
tmObjSwitchconstants. It should fire in
Method OnObjectTransition:Int(transId:Int, obj:ftObject) g.eng.CreateObjTimer(obj, g.tmObjSwitch, 100) Return 0 End
Since we don't want to check for collisions of the atom elements' connectors right away, we fire an object timer to do this with a little delay.
Whenever a timer event fires, you want to ...