toglia
16-04-2008 18:28:02
Now that I have solved all my collision problems, thanks to Betajaen´s technique of building complex meshes with a compound of simple convex shapes, I´m in need of creating events depending on certain bodies position.
I was thinking maybe I could use some collision event with no physic reaction, like a portal, that could somehow give me the exact body thats passing through it... Is that possible? and if its possible wouldn't it be a problem if the moving objects passes very fast, fast enough that it doesn't get detected, right?
I know I can grab the position on each body every frame but wouldn't that be expensive?
Thanks all.
I was thinking maybe I could use some collision event with no physic reaction, like a portal, that could somehow give me the exact body thats passing through it... Is that possible? and if its possible wouldn't it be a problem if the moving objects passes very fast, fast enough that it doesn't get detected, right?
I know I can grab the position on each body every frame but wouldn't that be expensive?
Thanks all.