FPS person passes through Colliders

Hi all,

I’m fairly new, and I tried to search for this, but it’s probably so basic no one else has this problem.

  1. My FPS player keeps falling through ramps and walls. I’m making the walls with taking a cube mesh filter and making it a wall. The player also passes through when I make sure the walls don’t touch other walls. I did read you had to do that… but it’s still not working. At first I used a Cube Mesh filter and a Box collider, and later resorted to adding a Mesh collider. I thought that the box collider would be sufficient but it doesn’t work, and when I add the mesh collider it does work, but the player gets snagged in the walls when running along them. Am I doing this wrong?

  2. I know that is stated that you use a 3d renderer and not Unity3d to make your objects, and that makes sense to a degree because unity3d is limited when making objects… but if I’m just making a domm like basic maze and monsters couldn’t I make the whole thing in Unity? Is it possible to do, but just not preferrable, and this is why Unity says not to use Unity to make your game objects. Will it still technically work if I just want basic images? I just want to get something built first, and replace my game objects later with models built from Cheetah.

Thanks for your help! Love the program so far.

if you just want to make your levels physical objects out of boxes, cylinders, capsules, planes and sphere’s then go for it. I’ve even heard talk of a terain tool though i’ve never looked for it. otherwise a modeling program is your best friend. after unity of course :stuck_out_tongue: as far as your collision make sure generate colliders is checked on your import settings on the fbx importer if its an imported asset. also moving through walls may be a result of moving the player with transform.

Thanks so much for replying. I realize I am a super rookie.

Should I remove my box colliders now that my mesh colliders are working? Will this make the player not stick to the walls when running against it?

Would you mind elaborating on moving the player with transform. I have transform, the scale is set on it, and as far as I know I’m moving the player with the arrow keys when I game test. The FPS person I am using is exactly from the FPS tutorial. I just copied it and deleted their game objects and actually used the terrain tool and build my walls floors and ceiling from the default cubes in unity.

Can anyone help with this?

Are you using the CharacterController?

Do you mean the First Person Controller?

Oh wait yes I am

H 2
R .4
SL 45
SO .4
SW .05
MMD 0

The skin thickness may be the issue, try tweaking this value.

Read the character controller guide in the reference manual Unity - Manual: Character Controller component reference

especially the part titled “Dont get stuck” which seems related

Please let us know if the skin width adjustments resolve your issue as others might want to know and if they have the foresight to search, your reply would be very helpful.