Turning off physics collisions
Posted: Mon Mar 28, 2022 4:20 pm
I want to make my track collide with my car, but only in the way I choose to. I'm using the isTouching functions to check when I hit the edge of the track so I can then put it at the start of the track. The current problem is the track moves slightly every time I crash into it because the physics engine counts it as colliding. I have set the track to dynamic so it can move around the screen instead of my car. I tried to mask collisions between the car and track but then it won't even check for collisions in the first place. Is there a way to have the game check for collisions but not do anything with them?