Hi, I want to tell if two objects are colliding. I know of:
function on_message(self, message_id, message, sender)
if message_id == hash("collision_response") then
--code
end
end
but I want to be able to tell if two objects are colliding with an if statement, like this:
if x.colliding_with(y) then
--hypothetical code
end
Is this possible? Thanks for any reponse!