Not overlap or collide rule?
richcoy
Member Posts: 211
I have actors on the stage where I am testing for overlap and collide with actors of matching tags.
How can I also check to make sure that the actor being dragged is NOT overlapping or colliding with other types of actors when released? I want use this to make sure that the actor being dragged is only over one other actor and not a bunch of actors. The "overlaps or collides" rule does not seem to have a "not" option.
The only way I can think of is when it is released first test for the other tags of actors and if positive do nothing then in the otherwise test for the one correct tag. I have 18 tags to check against though so that seems horribly inefficient and a pain to maintain.
Thanks.
Rich
How can I also check to make sure that the actor being dragged is NOT overlapping or colliding with other types of actors when released? I want use this to make sure that the actor being dragged is only over one other actor and not a bunch of actors. The "overlaps or collides" rule does not seem to have a "not" option.
The only way I can think of is when it is released first test for the other tags of actors and if positive do nothing then in the otherwise test for the one correct tag. I have 18 tags to check against though so that seems horribly inefficient and a pain to maintain.
Thanks.
Rich
Comments