Video yükleniyor...
Video Yüklenemedi
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
82,134 görüntüleme • 4 ay önce •via X (Twitter)
30 Yorum

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

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.

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

Everything is happening in Update. ; )

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

amogos

Cool. Also pushing objects around would be nice too.

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!

Great work keep it up

Amogus

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

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

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

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!

Friends dont let friends write character controllers from scratch

Looks like a Minion Jump and Run 😅

Think you’ll have it handle ledge grabbing?

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

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

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

Lots of stuff can cause that. All of the values on this camera are very lerpy. The camera position, the camera look-at position, the character velocity, all get lerped over time so it's smooth. The camera uses LateUpdate too so the character is done moving.

this looks great! i still use KCC but setting up moving platforms etc is a pain w it

do you want attribution

It looks nice

Looking forward to it!

thank you random ass person for giving me this information

Looks cool! Is it kinematic based or rigidbody based?

It is a rigid body for collision with the world and other rigid bodies. But there is some extra stuff that handles slopes and stairs and platform influence.

nice, I was surprised to find out only somewhat recently that Unity doesnt have much built in like Unreal does, and based on 0:09 it already looks better than Unreals default movement lol (yes, it cant even be pushed along a floor while standing)

You Legend!
Benzer Videolar
Sensitive content
Ooh, look at that! A new weapon in #ProjectTerra ! This is the Kama, which can be used in battle, but also as a form of movement for exploration and for puzzles off course! #gamedev #indiedev #pixelart #ドット絵
Flora - Purple Queen 🏳️⚧️
58,415 görüntüleme • 2 yıl önce

