Jumping through platforms on the way up but not down
Thanks to everyone in this forum who has been a fantastic help in the past. I have another quick question. I'm working on simple platforming jumping. I want the player to be able to jump up through platforms, but then stop if he lands on a platform on the way down. I don't want his left and right movement blocked.
I have attached an example file, in which I have used a detector where his feet are. I've tried using the in built "if object is facing in the direction of" for collision detection, but sometimes the character gets stuck jumping up through the platforms - I assume this is because even while jumping up, his direction sometimes registers as down.
Can someone please help me so that my character does not get stuck in the platforms on the way up, but lands on them on the way down, using the platform movement? Thank you.
Attached example: Attachment 11812