Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 4 месяцев назад •via X (Twitter)

Комментарии: 30

Фото профиля StartledSeal
StartledSeal4 месяцев назад

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

Фото профиля Mike V
Mike V4 месяцев назад

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
Mooncast Productions4 месяцев назад

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

Фото профиля Mike V
Mike V4 месяцев назад

Everything is happening in Update. ; )

Фото профиля Mooncast Productions
Mooncast Productions4 месяцев назад

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

Фото профиля Mick Mangles
Mick Mangles4 месяцев назад

amogos

Фото профиля Pashinin Anton
Pashinin Anton4 месяцев назад

Cool. Also pushing objects around would be nice too.

Фото профиля Tiago Franco
Tiago Franco4 месяцев назад

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
EVANGELIST: NOIRe4 месяцев назад

Great work keep it up

Фото профиля EveryDay
EveryDay4 месяцев назад

Amogus

Фото профиля Philippe Tremblay
Philippe Tremblay4 месяцев назад

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

Фото профиля Movesia
Movesia4 месяцев назад

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 -ガット・ピッツェリア
EGrane➡️Wishlist Gatto's Pizzeria -ガット・ピッツェリア4 месяцев назад

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

Фото профиля Kage_Furiku
Kage_Furiku3 месяцев назад

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
kvick4 месяцев назад

Friends dont let friends write character controllers from scratch

Фото профиля Hendrik Mennen
Hendrik Mennen4 месяцев назад

Looks like a Minion Jump and Run 😅

Фото профиля ScoutingTheNarrowRoad
ScoutingTheNarrowRoad4 месяцев назад

Think you’ll have it handle ledge grabbing?

Фото профиля Piffy🏳️‍🌈🇩🇪
Piffy🏳️‍🌈🇩🇪4 месяцев назад

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
Sonumbulops4 месяцев назад

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

Фото профиля Shiki of The Ritual Division
Shiki of The Ritual Division4 месяцев назад

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
Mike V4 месяцев назад

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
AlexE developing GhostEater4 месяцев назад

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

Фото профиля dongle
dongle4 месяцев назад

do you want attribution

Фото профиля RealStorm Entertainment
RealStorm Entertainment4 месяцев назад

It looks nice

Фото профиля Atelier Mycelia
Atelier Mycelia4 месяцев назад

Looking forward to it!

Фото профиля kykester
kykester4 месяцев назад

thank you random ass person for giving me this information

Фото профиля Nomnom
Nomnom4 месяцев назад

Looks cool! Is it kinematic based or rigidbody based?

Фото профиля Mike V
Mike V4 месяцев назад

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
DJ L3G3ND4 месяцев назад

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
Deceptive_Games4 месяцев назад

You Legend!

Похожие видео