So I’ve spent all day on this and am just getting discouraged. I started on moving platforms (left right up down) and was falling through those. I fixed it using runevision’s answer here CharacterController falls through or slips off moving platforms - Unity Answers
Then I found that if the player jumps towards a platform that is moving towards the player, the player jumps right through the platform. I fixed that by shooting a raycast up and if it hits a moving platform, I change the y direction of the player. It works but now I have a ray cast every frame checking something that only happens every once in a while.
Now I have rotating platforms that the player falls through a ridiculous amount of times. I’ve tried a bunch of combinations of colliders and rigidbodies with colliders inside of bigger colliders inside of bigger colliders but nothing stops it from just passing through. Rotating it with transform.Rotate
and rigidbody.MoveRotation
It might be hard to understand so I uploaded a video of it Unity Collision Problem - YouTube
The thickness of the platforms also doesn’t matter. Moving platforms are sort of a big part of my game and I don’t know what to do if collisions aren’t working. Does anyone have any suggestions?