I have a some issue regarding multiple detection of static bodies.
How can i detect or differentiate multiple static bodies?
In my game i am using tile map and create 3 objects in static body. How can i differentiate each other when collied with player sprite?
Thanks in advance
You can do it in 2ways.
//OR: For identification of class