- Home /
Strange Flickering on Collision
Hello. For my tank game, the player tank moves with a Character Controller. When I collide with a wall, the player doesn't go through, and everything is fine. But, if I destroy one wall, then my game starts acting strange; objects start disappearing and then showing back up, weird shadows coming out of nowhere, etc. Why is this happening? Thanks to anyone who answers.
Answer by undevable · May 13, 2021 at 05:01 PM
Ok, so I fixed it, the problem is Occlusion Culling, just like I suspected. Turning it off fixed the issue for me. Hope this helps someone in the future...
Answer by Ytsorf · May 13, 2021 at 07:34 PM
Hi there, i would suggest to make your own Character/Player Controller, because that kind of things could happen and its more difficult to solve, if you are using rigidbody put Interpolate, that probably should solve that, otherwise is the movement in the characterController hope it works <3
Thanks for answering! I don't think the Character Controller had anything to do with it, as just turning off Occlusion Culling fixed it.