Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Character Controller update. More gravity volumes! If the last one didn't make you sick this one is sure to. Need to work on getting the camera to not clip into the world. #GameDev #IndieDev #Unity3D

24,710 görüntüleme • 4 ay önce •via X (Twitter)

16 Yorum

Deniz Cetinalp profil fotoğrafı
Deniz Cetinalp4 ay önce

Nice. This works on any surface or are you filtering which ones you want this behavior? How do you handle high frequency surfaces? I prefer the stable world up cam in our bug game, but sometimes local up is more desirable so I don't have a nice way to choose one or the other atm.

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

This version uses volumes that contribute to the gravity direction. There can be overlapping volumes with different importance. More important volumes will override less important volumes. Volumes or the same importance are blended together.

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

The component that sets the gravity direction is separate from the character controller so its more flexible. I will probably add one that checks the surrounding surfaces and makes a gravity vector based on those to stick to any surface.

TXC profil fotoğrafı
TXC4 ay önce

That's fucking cool

MrWhoMan profil fotoğrafı
MrWhoMan4 ay önce

what is the plane underneath capsule for?

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

Just some debug vusuals showing the ground slope.

Zeke Gabrielse profil fotoğrafı
Zeke Gabrielse4 ay önce

Rad. If your virtual ground was twice as big in diameter I bet you could smooth out those transitions from angle to angle a bit better.

Vista Larga Games | ᯅ profil fotoğrafı
Vista Larga Games | ᯅ4 ay önce

Love that the camera rotates with it.

Kit profil fotoğrafı
Kit4 ay önce

was literally just looking at your code when you uploaded this, crazy stuff as usual

Distroia profil fotoğrafı
Distroia4 ay önce

¿where is this magnificent power?

forgame profil fotoğrafı
forgame4 ay önce

As someone who can't handel 3d game at all. Just 5s already make me feeling it a little

PhiLip profil fotoğrafı
PhiLip4 ay önce

so coool

Tyron Miller profil fotoğrafı
Tyron Miller4 ay önce

I feel like the only reason I got sick was because you told me I would. 😆

GameGen profil fotoğrafı
GameGen4 ay önce

"Make you sick" is a great bar to clear for a gravity system. Camera clipping is always the last thing you fix — good luck with the controller work.

Robin | Game dev ᕕ(ᐛ)ᕗ profil fotoğrafı
Robin | Game dev ᕕ(ᐛ)ᕗ4 ay önce

I've noticed a lot of controllers try to support this case, but sooo few games care about it.

Derek profil fotoğrafı
Derek3 ay önce

This is awesome! I'd love to see you explore this more - what are the limits??

Benzer Videolar