I accidentally made a NoClip Script

My Rocket uses multiple colliders and I misunderstood the assignment about disabling collisions. I wrote a separate script for my debugging and after a good hour of scouring the Unity reference material I made a thing that works for a NoClip mode (not yet refactored). If you want to make a NoClip script then use the code block for pressing C. I don’t pretend to fully understand why it works this way just yet but I’m confident I’ll figure these things out as I go along. Thanks.

Edit: This isn’t good code for a rocket that doesn’t use multiple colliders on children of your rocket gameobject, sorry

1 Like

Privacy & Terms