Is there a away to check if a physics body is in collision only in an eventListener, such as one activated by a button?
e.g.
function checkIfCollision( e )
if e.phase == "began" then
if body1.isInCollsion then
callFunction()
end
end
end
Thanks!
Actually, while you’re reading this: is there anyway to find the location of a collision? I don’t see an event.x or event.y method. [import]uid: 49205 topic_id: 9639 reply_id: 309639[/import]