Ive got a problem with my character controller.
i have set the height and radius etc to the dimensions i want, but the character will not go through doors etc that he should be able to fit through, as the opening in the door is bigger than the character controller.
Any ideas what might be going wrong?
At a guess I’d say it’s less likely to be a problem with the character controller, and more likely that you have some invisible collider covering the doorway. Is the wall section set as a convex collider ?
all the geometry for the walls, doors etc have ‘generate colliders’ checked, there are no other colliders assigned.
Just to make sure about the collider size:
- run the scene
- click pause
- put the mouse over the scene and press the space bar, to see the hierarchy pane
- in the hierarchy, select your player and select the doorway (or just select everything)
- see if the player really looks like he should fit through
Another approach: make some sample doorways of various sizes from REALLY REALLY WIDE to just bigger than the player. See which ones the player can walk through.
Is there maybe a rise in the floor that the player can’t walk over?
for some reason it was the step offset, changed it and it works fine.
Cool! So it was my last suggestion. (I just suggested everything I could think of.)