Hey guys,
working on a doom-esque style first person shooter. I have a character controller
set up and attached to the main camera.
Everything was working well, I could walk around and fire a weapon and interact with the level.
Recently the character controller started falling through the floor at random points in
the map, seemingly after I had fired my weapon(Rigidbody spawns and is catapulted forward) at my test enemy(Has a collider with trigger ticked to detect collision).
The curious thing is that all of this worked really well, and it seems like it just screwed
itself up heh.
Any ideas and insight would be greatly appreciated!
Additional info:
-The floor and walls are mesh colliders(Tested, those are A-okay).
-Creating a new camera and attaching a character controller seems to eliminate the issue.
But oddly enough the settings are the as with my old controller.
-Project settings are default.
Do your bullet - rigidbodies have collision with your character controller? AKA, slowly pushing you through the ground? I recommend some value printing for debugging. Try to keep track of the collision with the floor and what happens when it disappears.
– Sir_KeyzinburgaIs there some downward force that is unaffected by collision? that pulls the character down through the platform slowly? AKA is the Y position of the character changing over the 10-20 seconds? Personally I haven't tested anything yet on HD-resolutions, but I doubt that is the problem. Does it occur without use of the character controller, instead using a rigidbody? To me this seems hardly a bug in Unity. If that would be the case the forums would be crowded with issues like this.
– Sir_Keyzinburga