I'm currently working on a replica of the retro Atari Asteroids game.
http://i44.tinypic.com/t0nvwz.png
I need the asteroids to not collide with each other but allow the ship to collide with them? Is this even possible?
I've scanned the wiki for some info on disabling collisions and all I manged to find was something about making the object dynamic.
Think you could possibly add a new world callback that would act like so?
Code: Select all
function ShouldCollide( a, b, coll ) --return true or false to disable collisions
if a == "asteroid" and b == "asteroid" then
return false
else
return true
end
end
Thanks!