I am a beginner with Unity and I am making a runner-ish game. I noticed that when I test the game the cubes seem to have no collision so I just run right through them. What could I do to fix this?
Do you have them set as “isTrigger”?
Just set it to that and tested it again. Same result.
And, the obvious question, did you add a collider?
Yeah and still nothing. Could it be something with the FPS Controller?
Yeah and still nothing. Could it be something with the FPS Controller?
Before populating the forum with basic questions such as these you’re best off doing a few tutorials. At least a weeks worth.
After all we’re just going to tell you what the tutorials will so its pretty pointless.
Once you’ve done a few and still have some issues then let us know.
Good luck ![]()
I watched a few tutorials and found that I was looking at the issue wrong. It turns out when I hit the blocks with the front of the player there is no collision. I tried going perfectly straight and then hitting the blocks with my side and it stops the player but it only goes through if the front hits it. It is not an issue with my constant run script I wrote because I also took off the script and tested the same thing and got the same results.