I have a made an 'on rails' Unity project, which is simply comprised of:
a first-person character controller with disabled controls (apart from looking around with a mouse) is a child to an object. This parent object is moved linearly via a series of waypoints when a button is pressed. The character, since it is a child, moves with the object.
However, there is a problem with collisions. If I go up the stairs, the character controller somehow ignores his collision detection for some moments and walks into the stairs. After a couple of seconds he repops up correctly onto them, however, occasionally the character even falls through! The picture below shows the process of walking into the stairs and then suddenly popping up to where the character is supposed to be. Is there a way to fix this collision problem? To somehow force the detection more, or some other?
I would not like to refuse the character controller's collision detection because then walking up the stairs is much more visually and tactilely pleasing than a static linear movement from waypoint to waypoint.