Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
Deleted post
(+1)

I used it to create the game mechanic where the player can only go through the tiny gaps sideways. 

I tried using character controller for the player movement at first but it only uses capsule colliders for the player collision. I tried the standard starter asset but ultimately decided to make my own player controller with rigid-body physics which I admit is not as smooth/good.

Deleted post
(+1)

I am pretty much doing that same thing but with a box collider + I lerp the collider size for smoother transition.

By moving through tiny gaps, I meant the mechanic where the player can go through the tiny gaps by strafing sideways. Capsule has a fixed radius so it won't matter if the player is facing straight or sideways.

I won't use such methods in my future games. It was just a unique scenario and I was doing a bit of experimentation with player movement.  I have used character controller in my previous games, just this one is an exception.

Anyway thanks for the feedbacks and suggestion. I appreciate it.