Collide with center of 2 actors
How do I detect a collision with the center of 2 actors instead of the outer edges?
Best Answer
-
heathcc Posts: 113
When I have this scenario, I create a smaller actor that I constrain to the X,Y of the larger actor and make it transparent. Then assign collision rules to the smaller actor.
Answers
. . . .and . . .
actor A's Y position = actor B's Y position . .
. . . then their centres have 'collided'.
It's very unlikely to happen though.
I wonder which has more overhead? Using two actors with a Collision behavior or rules (4?) to check for the intersect of two ranges.
John, how would I use magnitude for this?
use that for collide(ex if smaller then 10 then...)