But he isn't touching !!! --'
FuzzBuzz
Member, PRO Posts: 119
Hi everyone! Got a small problem here...
Actor "A" Should DESTROY when actor "B" OVERLAPS with actor "A"
But her is the problem...
Whenever actor "B" SPAWNs, on actor "A" or not, actor "A" DESTROYs itself like if it was always overlapping with actor "B"
The only rule i've set up is an OVERLAP/COLLIDE rule between these two actors ("A" & "B") so it's getting a little confusing...
Any advice or thoughts would be great! >-
Thanks!
FuzzBuzz
Actor "A" Should DESTROY when actor "B" OVERLAPS with actor "A"
But her is the problem...
Whenever actor "B" SPAWNs, on actor "A" or not, actor "A" DESTROYs itself like if it was always overlapping with actor "B"
The only rule i've set up is an OVERLAP/COLLIDE rule between these two actors ("A" & "B") so it's getting a little confusing...
Any advice or thoughts would be great! >-
Thanks!
FuzzBuzz
Comments
Try this: create a new scene and drag actors A and the actor that spawns actor B onto the scene. Does the problem still occur? If not, then you likely unlocked one of your actors on your initial scene without realizing it.
If the problem still occurs, are your actors' images the same size as your actors or are they smaller? Could it be that the visible area doesn't appear to collide but in fact the actors' boundaries are colliding? Try adding a log debugging statement to actor A in the collision rule and actor B not in any rule. For both, add self.position.X..","..self.position.Y to the expression editor. Then, open the Debugger window and Preview the scene. Do the x,y positions for actors A and B indicate a collision?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing