How to create a one way transparent platform?

Curious how i would create a platform that i could move an object through one way but prevent the object from coming back through it, similar to a Mario Bros game. Any help is appreciated.

Thank you!

Mason  

https://coronalabs.com/blog/2012/11/27/introducing-physics-event-contact/

The following article has exactly what you asked for.

Thank you so much! 

Check out the bottom of the article for the sample demo, there you can take his code and tweak it to your liking.

For some reason it is still giving me trouble. I attempt to transfer all files into a corona sdk folder but just getting continuous errors…

I have an example that may help:

https://github.com/roaminggamer/RG_FreeStuff/tree/master/AskEd/2015/08/oneWayPlatform

It does require SSK2 to run, but you can look at the code and figure out what I’m doing even if you don’t have SSK2

https://www.youtube.com/watch?v=DzkqPiXzG1M&feature=youtu.be

 Don’t forget I’ve got a TON of examples here:

https://github.com/roaminggamer/CoronaGeek

and here:

https://github.com/roaminggamer/RG_FreeStuff

https://coronalabs.com/blog/2012/11/27/introducing-physics-event-contact/

The following article has exactly what you asked for.

Thank you so much! 

Check out the bottom of the article for the sample demo, there you can take his code and tweak it to your liking.

For some reason it is still giving me trouble. I attempt to transfer all files into a corona sdk folder but just getting continuous errors…

I have an example that may help:

https://github.com/roaminggamer/RG_FreeStuff/tree/master/AskEd/2015/08/oneWayPlatform

It does require SSK2 to run, but you can look at the code and figure out what I’m doing even if you don’t have SSK2

https://www.youtube.com/watch?v=DzkqPiXzG1M&feature=youtu.be

 Don’t forget I’ve got a TON of examples here:

https://github.com/roaminggamer/CoronaGeek

and here:

https://github.com/roaminggamer/RG_FreeStuff