Noob question - Collisions without physics

Hi,

I am sorry for the totally noob question. I try to figure out, how the collision without physics work.

I triple checked the documentation, but I don’t get it working in my project. I already made much more complex stuff, but here I am struggling, it looks pretty easy, but it didn’t work :mellow: Maybe there is something, I have overlooked… :blink:

Can someone please post a complete working example (2 objects colliding) without physics, that i can figure out, what I am doing wrong? I could post the code here, but I want to figure it out by myself, because I think it is the best way to learn it.

thank you so much!

best!

Hi,

what do you mean by saying “without physics”?

If you want two objects to collide but without visual bumping then object’s isSensor property will help you.

Best regards,

Anton

Hi @skate,

If you’re trying to detect collisions without using the physics engine whatsoever, perhaps this tutorial will help:

http://coronalabs.com/blog/2013/07/23/tutorial-non-physics-collision-detection/

Best regards,

Brent

Thank you. thanks for pointing me to the tutorial. it is really strange. I restarted my project since yesterday, now everything works as expected. I didn’t change anything since yesterday… I have no idea! -  anyway … thank you!

Hi,

what do you mean by saying “without physics”?

If you want two objects to collide but without visual bumping then object’s isSensor property will help you.

Best regards,

Anton

Hi @skate,

If you’re trying to detect collisions without using the physics engine whatsoever, perhaps this tutorial will help:

http://coronalabs.com/blog/2013/07/23/tutorial-non-physics-collision-detection/

Best regards,

Brent

Thank you. thanks for pointing me to the tutorial. it is really strange. I restarted my project since yesterday, now everything works as expected. I didn’t change anything since yesterday… I have no idea! -  anyway … thank you!