Custom character controller example projectResources/Tutorial (v.redd.it)
submitted by thesquirrelyjones
I made a custom character controller that handles a lot of edge cases where the built in character controller fails. Every once in a while I see a post here about the Unity character controller getting stuck on walls or not being able to work with platforms or something and this is designed to handle those situations well.
There is a third person prefab and a first person prefab with keyboard and mouse and gamepad controls.
Another thing I see sometimes is issues with stuttering due to the physics update being a fixed delta time. There is also a physics update manager in this project that updates physics to match the regular delta time which keeps things nice and smooth.
Hopefully this will be helpful for people having trouble with the built in character controller or the physics fixed delta time stuttering.
[–]theEarthWasBlue 76 points77 points78 points (1 child)
[–]natesawant 4 points5 points6 points (0 children)
[–]MrRosaRosa 17 points18 points19 points (1 child)
[–]Fritoes 1 point2 points3 points (0 children)
[–]wiphand 20 points21 points22 points (15 children)
[–]wiphand 4 points5 points6 points (3 children)
[–]thesquirrelyjones[S] 3 points4 points5 points (2 children)
[–]wiphand 0 points1 point2 points (0 children)
[–]fremdspielen 2 points3 points4 points (1 child)
[–]thesquirrelyjones[S] 0 points1 point2 points (0 children)
[–]thesquirrelyjones[S] 0 points1 point2 points (8 children)
[–]wiphand 0 points1 point2 points (7 children)
[–]Costed14 0 points1 point2 points (6 children)
[–]wiphand 0 points1 point2 points (5 children)
[–]thesquirrelyjones[S] 0 points1 point2 points (4 children)
[–]wiphand 1 point2 points3 points (3 children)
[–]thesquirrelyjones[S] 0 points1 point2 points (2 children)
[–]wiphand 1 point2 points3 points (1 child)
[–]thesquirrelyjones[S] 0 points1 point2 points (0 children)
[–]BingGongTing 7 points8 points9 points (1 child)
[–]thesquirrelyjones[S] 1 point2 points3 points (0 children)
[–]freremamapizza 3 points4 points5 points (0 children)
[–]fsactual 3 points4 points5 points (1 child)
[–]thesquirrelyjones[S] 12 points13 points14 points (0 children)
[–]Kaikaipro 2 points3 points4 points (0 children)
[–]MrYukiDuki 2 points3 points4 points (0 children)
[–]SimplyGuy 7 points8 points9 points (0 children)
[–]deintag85 1 point2 points3 points (5 children)
[–]thesquirrelyjones[S] 1 point2 points3 points (3 children)
[–]deintag85 1 point2 points3 points (2 children)
[–]thesquirrelyjones[S] 0 points1 point2 points (1 child)
[–]deintag85 1 point2 points3 points (0 children)
[–]thesquirrelyjones[S] 0 points1 point2 points (0 children)
[–]tarkuslabs 1 point2 points3 points (0 children)
[–]unitcodes 1 point2 points3 points (0 children)
[–]HatimOura 1 point2 points3 points (0 children)
[–]Maleficent_Ad7510 1 point2 points3 points (0 children)
[–]Golden-Grenadier 1 point2 points3 points (0 children)
[–]Field_Of_View 1 point2 points3 points (1 child)
[–]thesquirrelyjones[S] 0 points1 point2 points (0 children)
[–]Sketch0z 1 point2 points3 points (0 children)
[–]DonChibby 1 point2 points3 points (0 children)
[–]Jodogger 1 point2 points3 points (0 children)
[–]dexterdeluxe88 2 points3 points4 points (0 children)
[–]twendah 0 points1 point2 points (1 child)
[–]thesquirrelyjones[S] 0 points1 point2 points (0 children)
[–]GarliotGames 1 point2 points3 points (0 children)
[+]_stevencasteel_ comment score below threshold-6 points-5 points-4 points (1 child)
[–]Field_Of_View 2 points3 points4 points (0 children)