Going through platforms in 3D

I am creating a platformer in 3d where I want to be able to go through platforms one way but not the other, as well as being able to drop down the said platforms. How would I go about this?