Detecting Different parts of the BODY

Hello Gamers, 

I am developing a Horizontal running game. 

I encountered the problem below. 

  1. I want the user to get out once he touched the platform above. Is there any way to detect the head separately ?

  2. Detect when sprite is in the air and is not touching any of the physical object. Which means the floor has ended and user will get out

I think we cover that in our Physics guide:

https://docs.coronalabs.com/guide/physics/collisionDetection/index.html#multielement

Rob

You can also use the ‘foot’ concept outlined in Brent’s article: 

https://coronalabs.com/blog/2013/02/19/more-physics-tricks-explained/

I think we cover that in our Physics guide:

https://docs.coronalabs.com/guide/physics/collisionDetection/index.html#multielement

Rob

You can also use the ‘foot’ concept outlined in Brent’s article: 

https://coronalabs.com/blog/2013/02/19/more-physics-tricks-explained/