I’m making a 2.5D Run N Gun platformer and I’m having trouble creating a one way platform. I tried using a Quad since it only has collision on one side, and that works perfectly for my player (using character controller) . However, my game has projectiles which also need to be one way. When the projectiles go through the bottom of the platform, OnCollisionEnter is called causing them to be destroyed. Is there any way to prevent this from happening? Or detect if the projectile hit the bottom of a Quad?
Notes:
- I tried using This Solution, but it isn’t working.
- I can not disable the entire collider to allow a certain object to pass through the bottom. This would make any enemy standing on the platform fall through it.
- My projectiles have rigidbodies with continuous dynamic collision detection.
Thanks for the help!