Тёмный

#37 Ledge Grabbing (Part1) - Unity Tutorial 

Roundbeargames
Подписаться 13 тыс.
Просмотров 25 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@Roundbeargames
@Roundbeargames 5 лет назад
This video is mostly about setting up basic stuff (scriptable objects, hanging animation, etc). Next I'll move onto positioning and climbing, etc. Check out the full playlist: ru-vid.com/group/PLWYGofN_jX5BupV2xLjU1HUvujl_yDIN6 Download this project: github.com/RoundBearChoi/2.5D_Platformer_Unity
@xCrOaTiEnSniPZzx
@xCrOaTiEnSniPZzx 5 лет назад
Finaly someone who explains the ledge grabbing! :)) you deserve more waaay more likes and subs. Thank you!
@Roundbeargames
@Roundbeargames 5 лет назад
thanks! i do hope to have more. i'm sure there's many different ways to do ledge grabs. i just like it this way :)
@xCrOaTiEnSniPZzx
@xCrOaTiEnSniPZzx 5 лет назад
@@Roundbeargames This way is perfectly fine :) Im trying now to implement it in my game even it is 2D :D and i use IK for the arms (like in Limbo) to have a nice transition when he grab the ledge :)
@Roundbeargames
@Roundbeargames 5 лет назад
@@xCrOaTiEnSniPZzx ok that's nice. right now i don't have ik, but im thinking about doing it because the hands are not exactly where they should be when player climbs.
@zionen01
@zionen01 3 года назад
Excellent video, I discovered your channel searching for ledge grabbing but you have great content all around, I will be going over the other videos as well. Thanks.
@Roundbeargames
@Roundbeargames 3 года назад
thanks for comin. i hope you enjoy the videos and have a great journey in the world of gamedev :)
@OmeedNOuhadi
@OmeedNOuhadi 2 года назад
Awesome work!
@Roundbeargames
@Roundbeargames 2 года назад
thank you!
@meznaneTB
@meznaneTB 4 года назад
For a guy who is so organized in his code I am surprised to see how messy the animator is. Haha. These are great tuts thank you very much.
@Roundbeargames
@Roundbeargames 4 года назад
Lol youre welcome! Dont worry i clean that up in the later videos. Repository link in description :)
@meznaneTB
@meznaneTB 4 года назад
@@Roundbeargames SPOILER ALERT! haha awesome thank you. :)
@Roundbeargames
@Roundbeargames 4 года назад
@@meznaneTB you can see it in my latest version in the repository
@gauravpun513
@gauravpun513 4 года назад
Very helpful ! Thanks !
@Roundbeargames
@Roundbeargames 4 года назад
Thanks for coming!
@bluengel
@bluengel 5 лет назад
설정 톺아보기 감솨합니당~♥♩♬ 오늘도 수고 많으셨어용~!
@Roundbeargames
@Roundbeargames 5 лет назад
네 매번 오시느라 수고많으시네요 ㅎㅎ 주말잘보내세요~! ^0^
@roqlee
@roqlee 5 лет назад
thanks for making this video :)
@Roundbeargames
@Roundbeargames 5 лет назад
I thank you for makin the request 👍 forgot to do a little shoutout
@meznaneTB
@meznaneTB 4 года назад
I have no idea how OnTriggerEnter fired for you when neither of the Triggers (that I could see) have a Rigidbody attached... Mine wouldn't work I had to attach a Rigidbody to my ledge in order for this to work. One of the triggers has to have a rigidbody, no?
@Roundbeargames
@Roundbeargames 4 года назад
nope. maybe you haven't checked IsTrigger. you can download the package and check out the working version first. for more details you can reach me on my discord server. all links in description. the character has a rigidbody but that's a different object.
@meznaneTB
@meznaneTB 4 года назад
@@Roundbeargames check the unity doc link i attached... one of the triggers always needs a rigidbody... I am still so confused how your code worked without it. I even added a rigidbody to my character (instead of the ledge checker) to test that scenario and it didn't work for me. anyway, if anyone else has my issue hopefully they read these comments. Looking forward to learning more from your channel. docs.unity3d.com/ScriptReference/Collider.OnTriggerEnter.html
@meznaneTB
@meznaneTB 4 года назад
​@@Roundbeargames Yes, I read it... the "If any" is referring to the fact that only one of the 2 colliders doesn't have to have one... because the very next line says: "Notes: Trigger events are only sent if one of the Colliders also has a Rigidbody attached." I got mine working, I was just leaving this comment here for someone not using your packages encountering the same issue as I had. Thank you for taking the time to talk about this, I have much respect for your work.
@Roundbeargames
@Roundbeargames 4 года назад
@@meznaneTB ok i just ran a few tests. it works because i have a rigidbody in the root. trigger to trigger alone will not work.
@Roundbeargames
@Roundbeargames 4 года назад
@@meznaneTB sorry i got confused myself. you do need a rigidbody. my project is working because there's a rigidbody in one of the parent objects.
@InfectedcellRu
@InfectedcellRu 5 лет назад
Hey mate! Hope you're doing well =) Just one simple question. I have try to use "transitionIndexer" scriptable object within ledge hanging animation but for different purposes. First one - as Index 1 (transition types - UP / JUMP) to climb up and the second one- Index 2 (transition types - DOWN) to fall down and it is does not work within one onimation to make a transition to proper next one. (only greater Index number works). Looks like "TransitionIndexer" csharp file - simply sending "Index" Int to mecanim - but only in case if I am using only one "transition indexer" within same animation in any time. How to make it send different Index numbers based on different index types? I beleive the answer is very simple but I am stucked as usual ))))
@Roundbeargames
@Roundbeargames 5 лет назад
ok if i understood you correctly, one indexer is overriding the other. (you have one indexer always returning the index back to 0) i realized this later when i was doing the running slide in video #110 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YmMcK1AV89M.html you can either refer to that code in the package or the latest version. here's a screenshot for the fixed indexer i.imgur.com/VfaWnXl.png
@LePetit2
@LePetit2 3 года назад
Hello! Just a question. You think it's possible to add gravity and force to the character so, in other circumstances, he swings?
@Roundbeargames
@Roundbeargames 3 года назад
hi. it depends. if you want physical interaction between player and everything else (something like active ragdoll) you can't simply add gravity and force and be done with it. if you're referring to just the animation it's a state.
@LePetit2
@LePetit2 3 года назад
@@Roundbeargames Yes, more like interaction. Like "I am Bread"
@Roundbeargames
@Roundbeargames 3 года назад
@@LePetit2 youre gonna need a lot more than unity gravity and force. start looking into physics engines, newtonian physics, collision detection, ik, etc. i am bread doesn't have the complexities of multiple human bodies interacting with each other.
@LePetit2
@LePetit2 3 года назад
@@Roundbeargames I'll do a lot of research :) thank you so much for the help and for answering my questions. I really appreciate it
@Roundbeargames
@Roundbeargames 3 года назад
@@LePetit2 good luck. i'd also recommend starting from the basics rather than something like physics and rendering.
@virusoflife5989
@virusoflife5989 4 года назад
Hey, are you using rigidbody or character controller? Which one would you recommend?
@Roundbeargames
@Roundbeargames 4 года назад
hi. i'm using my own character controller + rigidbody. i'd say it doesn't matter what you use. it's the details in implementation that matters.
@virusoflife5989
@virusoflife5989 4 года назад
@@Roundbeargames is it possible to use both?
@Roundbeargames
@Roundbeargames 4 года назад
@@virusoflife5989 docs.unity3d.com/ScriptReference/CharacterController.html if you're referring to UnityEngine.PhysicsModule, probably not. if you're referring to the general idea of a character controller yes.
@bamsgian9759
@bamsgian9759 5 лет назад
Lol your voice heard like max payne got depressed
@Roundbeargames
@Roundbeargames 5 лет назад
Lol ok. Its just me being focused
@LyokoUnite
@LyokoUnite 4 года назад
hey do happen to explain autograb.
@Roundbeargames
@Roundbeargames 4 года назад
there's no autograb
@LyokoUnite
@LyokoUnite 4 года назад
@@Roundbeargames sorry i mistyped it there a way you can expain a auto grab system like in tomb raider kinda here's a quick reference ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NyjoLpJVtpk.html
@Roundbeargames
@Roundbeargames 4 года назад
that's a different system for a different game. you have to ask the author.
@LyokoUnite
@LyokoUnite 4 года назад
Roundbeargames Choi ok thank you anyway
@Roundbeargames
@Roundbeargames 4 года назад
@@LyokoUnite alright man good luck
Далее
#38 Ledge Grabbing (Part2) - Unity Tutorial
10:34
Просмотров 4,7 тыс.
Unity How to Climb up Tutorial
29:29
Просмотров 3,6 тыс.
How To Code Ledge Grabbing for your Unity Game
19:58
Unity3D Tips - Terrains - 1. Terrain Layers
4:53
Просмотров 6 тыс.
JOGO DA MEMÓRIA DE DIVERTIDAMENTE
0:46
Просмотров 60 млн