In my game I create raycast function (thanks for same tutorial ).
I have lots of physics body created by PhysicsEditor. I dont know why but this raycast function not always detect collision with some PhysicsBody.
It is some bug by cocos2d-x developer’s side? Or maybe I made something wrong? Or RayCast function isnt perfect and dont always detect collision and it’s normal
Hi,
I got same issue like you got.
I found that if the sprite is scaled by number different 1, raycast function will not detect collision with its physics body.
I dont know how to fix it.