The problem in this game is that sometimes it will report collisions of objects that are still in action, basically, when they pass by each other. For this, we check if the ID of the object's parent is bigger than the one of the second object's parent. If yes, the second object will start a transition.
OnObjectCollision, check if the collision group is equal to
Method OnObjectCollision:Int(obj:ftObject, obj2:ftObject) If obj.collGroup = g.grpCircle Then
objis bigger than the second one and also that the second parent ID is positive. Negative ones are still in transition.
If (obj.GetParent().GetID() > obj2.GetParent().GetID()) ...