Skip navigation
Making a simple but comprehensive character controller for Unity which can be a hurdle for a lot of…
0:00 / 0:25

Making a simple but comprehensive character controller for Unity which can be a hurdle for a lot of…

Mike V

@RealtimeVFXMike3.4K followers

Visit on X
909 likesDownloadOriginal post

82,215 views #GameDev #IndieDev #ScreenShotSaturday

Making a simple but comprehensive character controller for Unity which can be a hurdle for a lot of people starting out. Handles slopes, stairs, platforms that move, rotate, and stretch. I'll put it in a public repo when its all finished. #GameDev #IndieDev #ScreenShotSaturday

30 Comments

Comments from the original post on X (Twitter)

  • StartledSeal's profile picture

    @StartledSeal

    @AIJC_nagahira Cool!!! I did that too :3

    7 likes

  • Mike V's profile picture

    @RealtimeVFXMike

    I started by distilling down the character controller for @ProdeusGame , which I think is pretty good, and have found some improvements that I can bring back to Prodeus when finished.

    5 likes

  • Mooncast Productions's profile picture

    @MooncastOnline

    Most people start by using Update instead of FixedUpdate. What follows is a river of tears.

    3 likes

  • Mike V's profile picture

    @RealtimeVFXMike

    Everything is happening in Update. ; )

    1 like

  • Mooncast Productions's profile picture

    @MooncastOnline

    Dude. GL with that. When the fps gets really high or really low, it will always break.

  • Mick Mangles's profile picture

    @itsyaboidougie

    amogos

    2 likes

  • Pashinin Anton's profile picture

    @apcrol

    Cool. Also pushing objects around would be nice too.

    2 likes

  • Tiago Franco's profile picture

    @Alarka

    As someone who can't code but wants to prototype a few ideias on my own, this looks like the perfect starting point, looking forward to it!

    1 like

  • EVANGELIST: NOIRe's profile picture

    @EvangelistNoire

    Great work keep it up

    1 like

  • EveryDay's profile picture

    @MrEveryDay10

    Amogus

    1 like

  • Philippe Tremblay's profile picture

    @ptremblay

    I've seen better games. (ok, I'm just kidding)

    1 like

  • Movesia's profile picture

    @movesiaStudios

    the rigidbody approach for slopes and stairs is always the right call, kinematic gets messy fast. can't wait to see the repo 😛

    1 like

  • EGrane➡️Wishlist Gatto's Pizzeria -ガット・ピッツェリア's profile picture

    @grane_ethan

    I think Unity needs a template at the Enigma level, in the style of Unreal Engine.

    1 like

  • Kage_Furiku's profile picture

    @K_Furiku

    Just curious, but whenever you have time, would you be able to help me out with my own custom player controller? It's somehow bugging out, also bugging me personally, and I can't figure out why it's glitching and rotating to face the world origin!

    1 like

  • kvick's profile picture

    @kvickart

    Friends dont let friends write character controllers from scratch

    1 like

  • Hendrik Mennen's profile picture

    @hmennen90

    Looks like a Minion Jump and Run 😅

    1 like

  • ScoutingTheNarrowRoad's profile picture

    @ScoutingAlong

    Think you’ll have it handle ledge grabbing?

    1 like

  • Piffy🏳️‍🌈🇩🇪's profile picture

    @Piffy_UwU

    Slopes are a Nightmare on my Controller I have to make all my walls perfectly straight Up cause otherwise i can Just Walk on Them and i literally dont know how to fix it that wouldnt also create other Problems

    1 like

  • Sonumbulops's profile picture

    @sonumbulops

    I know it's just capsule and a sphere, but I love the look of the player model.

    1 like

  • Shiki of The Ritual Division's profile picture

    @shikidev

    One of the things I struggle with the most with third person controllers is that sometimes the camera jitters just a tiny bit I can fix it with time but usually forget how to fix it everytime

    1 like