I'm working on building a platforming 'engine' that I can easily add sprites and visuals to when I'm ready, but I'm having a bit of trouble with enemy edge detection.
I've currently got a setup like so:
The blocks at the end of the platforms are edge detectors as outlined in the tutorial here:
https://www.scirra.com/tutorials/253/ho ... ame/page-7
However, since they need to be solid for the enemies to turn around once they hit them, the player can also bump into them and obviously I can't have that happening. Is there a way to selectively disable the detectors' solid status for the players only, or is there a better way I could be doing this?