Hole Collisions and Triggers


A collider was placed in each hole, along with the trigger placed previously (explained in the previous devlog). A collision layer was created for the cars, wholes and balls. In the collision matrix, the collision between the holes and the balls was disabled, so that cars can't enter holes, but balls can. 

The collider was achieve with a cylinder placed in it, with its mesh renderer disabled.




Leave a comment

Log in with itch.io to leave a comment.