Manage Multiple Collision Regions?
netdzynr
Member Posts: 296
I want to set up several actors that can dragged into any one of several "boxes". So far I have rules working for one actor and one box that poll the X,Y position of the actor to see if falls within the X,Y region of the box. It works, but it occurred to me I will have to write a ton of rules if I have track 10 actors and 10 boxes. Is the method I'm using above the only way to test for actor collisions? If so, is there any way to reference actors programmatically, perhaps by concatenating a base actor name and number, like how images can be referenced by ("image"..var..".png")?
Thanks for any suggestions.
Thanks for any suggestions.