Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

StartledSeal profil fotoğrafı
StartledSeal4 ay önce

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

Mike V profil fotoğrafı
Mike V4 ay önce

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.

Mooncast Productions profil fotoğrafı
Mooncast Productions4 ay önce

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

Mike V profil fotoğrafı
Mike V4 ay önce

Everything is happening in Update. ; )

Mooncast Productions profil fotoğrafı
Mooncast Productions4 ay önce

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

Mick Mangles profil fotoğrafı
Mick Mangles4 ay önce

amogos

Pashinin Anton profil fotoğrafı
Pashinin Anton4 ay önce

Cool. Also pushing objects around would be nice too.

Tiago Franco profil fotoğrafı
Tiago Franco4 ay önce

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!

EVANGELIST: NOIRe profil fotoğrafı
EVANGELIST: NOIRe4 ay önce

Great work keep it up

EveryDay profil fotoğrafı
EveryDay4 ay önce

Amogus

Philippe Tremblay profil fotoğrafı
Philippe Tremblay4 ay önce

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

Movesia profil fotoğrafı
Movesia4 ay önce

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

EGrane➡️Wishlist Gatto's Pizzeria -ガット・ピッツェリア profil fotoğrafı
EGrane➡️Wishlist Gatto's Pizzeria -ガット・ピッツェリア4 ay önce

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

Kage_Furiku profil fotoğrafı
Kage_Furiku3 ay önce

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!

kvick profil fotoğrafı
kvick4 ay önce

Friends dont let friends write character controllers from scratch

Hendrik Mennen profil fotoğrafı
Hendrik Mennen4 ay önce

Looks like a Minion Jump and Run 😅

ScoutingTheNarrowRoad profil fotoğrafı
ScoutingTheNarrowRoad4 ay önce

Think you’ll have it handle ledge grabbing?

Piffy🏳️‍🌈🇩🇪 profil fotoğrafı
Piffy🏳️‍🌈🇩🇪4 ay önce

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

Sonumbulops profil fotoğrafı
Sonumbulops4 ay önce

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

Shiki of The Ritual Division profil fotoğrafı
Shiki of The Ritual Division4 ay önce

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

Mike V profil fotoğrafı
Mike V4 ay önce

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.

AlexE developing GhostEater profil fotoğrafı
AlexE developing GhostEater4 ay önce

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

dongle profil fotoğrafı
dongle4 ay önce

do you want attribution

RealStorm Entertainment profil fotoğrafı
RealStorm Entertainment4 ay önce

It looks nice

Atelier Mycelia profil fotoğrafı
Atelier Mycelia4 ay önce

Looking forward to it!

kykester profil fotoğrafı
kykester4 ay önce

thank you random ass person for giving me this information

Nomnom profil fotoğrafı
Nomnom4 ay önce

Looks cool! Is it kinematic based or rigidbody based?

Mike V profil fotoğrafı
Mike V4 ay önce

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.

DJ L3G3ND profil fotoğrafı
DJ L3G3ND4 ay önce

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)

Deceptive_Games profil fotoğrafı
Deceptive_Games4 ay önce

You Legend!

Benzer Videolar