Hi everyone! I have a brand-new AI course on Udemy: www.udemy.com/course/visual-scripting-with-unity
@liormax4 жыл бұрын
this is the best frog tutorial I've seen in my entire life, and I wasn't even looking for it
@lee1davis12 жыл бұрын
Wow this helped me solve a big problem I was having in my Deer and wolf behavior. Thanks.
@elgatorabioso4 жыл бұрын
Amazing tutorial! you put so much work into it! tanks
@SnailSpaceWTF2 жыл бұрын
Great video, and I love your style. Thank you for being.
@HomeMech2 жыл бұрын
Aw, that's so nice to hear, thank you! :3
@phillipwebb1104 Жыл бұрын
Awesome video. Would this work for a 2D top down game too?
@HomeMech Жыл бұрын
Yes! It will totally work. After you work with it a bit you may want to check out 2D rotation tutorials in C#, I bet you'll understand what to tweak from there even if you can't code. The frog is moving forward from the animation alone so that might be something different with your 2D sprite. I'd suggest using DOTween for that 🐸
@Orhime1014 жыл бұрын
Great tutorial! I love your videos, I appreciate the time you took to make this thank you
@HomeMech4 жыл бұрын
Thanks Robin! :D
@ashishitD3 жыл бұрын
1 critique............plz use root motion for da character.....i know u know root motion cause frog has root motion applied to it......other dan dat......video is awesome and informative
@HomeMech3 жыл бұрын
Thank you!! I just realized I didn't pin my comment about this, so I went ahead and did that.
@stigmamax9996 Жыл бұрын
what happens if the frog meets a tree with a collider?
@HomeMech Жыл бұрын
I believe the animation will override the physics. You'll want to give your frog sight with a raycast to avoid obstacles. 👀🐸There is an animate with physics option here you can try turning on: docs.unity3d.com/Manual/class-Animation.html
@mdaltaf50203 жыл бұрын
Can you please make a third person controller tutorial using bolt
@HomeMech3 жыл бұрын
Hi! Thanks for the suggestion. I'll think about it! Btw if you follow the VS and C# tutorials you should be able to figure out most C# tutorials.
@ernestgongora43954 жыл бұрын
Can I use this with other animals such as a deer or wolf?
@HomeMech4 жыл бұрын
Yes, this will be a good foundation for other animals. A deer, like the frog, moves fast and turns abruptly. Otherwise, for the slerp, you'll want to do a lower number for the T value (try a Per Second node) and run the ticking part of a timer into the flow so that the rotation is gradual.
@stigmamax9996 Жыл бұрын
I don't use Bolt but Playmaker. Can I use both in my project?
@HomeMech Жыл бұрын
Yes, you can use visual scripting and Playmaker. Visual scripting can probably communicate with Playmaker too.
@HomeMech4 жыл бұрын
Tip #1: If your frog isn't moving, look at the Animator component and toggle "Apply Root Motion." This enables the animations to move the rigidbody. More here: docs.unity3d.com/Manual/RootMotion.html Tip #2: If you are on 2021 the graphs might not come in, go into Project Settings > VisualScripting and "Fix Missing Scripts." Let me know if you have any issues!
@Phoenix_Core2 жыл бұрын
are you actually in MN? We should meet up if you are.
@Rokyloreq3 жыл бұрын
Can you make this but in c#
@HomeMech3 жыл бұрын
I have a free game kit on the asset store that has C# state machine AI and much more: kzbin.info/www/bejne/opO4h42HnMuFe6c
@ernestgongora43954 жыл бұрын
Can you make a video like this one but this time making the frog move at random like a wandering AI?
@HomeMech3 жыл бұрын
Check the archived Bolt Videos on Unity Learn: learn.unity.com/tutorial/bolt-videos-archived#5ee0b1feedbc2a002072770c the beginning of the third one down will help you with that
@oilbaggcomedy10583 жыл бұрын
Wish you showed how u started
@HomeMech3 жыл бұрын
I included the project package, let me know if you have any trouble with it!
@GameDevRepublic4 жыл бұрын
Great tutorial.
@GukoSS84 жыл бұрын
wow this is really cool thanks man :)
@HomeMech4 жыл бұрын
Thanks Salem! Let me know if there's something you'd like your creatures to do next ;)
@bguilleminot4 жыл бұрын
Hi, followed the steps but when I play the game the frog wont move, it runs the animations but static in a place, and runs the animations looping without considering the player's distance. I wonder what I would have done wrong
@HomeMech4 жыл бұрын
It could be a lot of things. Are you using any different assets from what is in the package?
@bguilleminot4 жыл бұрын
@@HomeMech thanks for answering, I am using the frogs but using other assets. The player is one I've created myself, I tried to do this in a test project (I didn't created a specific project to do this tutotial)
@HomeMech4 жыл бұрын
@@bguilleminot Start with the package and assets I've given you. I make them to reduce all the things that could go wrong. Then try doing your own thing. If it doesn't work, you can compare it with what I've given you and see if you can spot what is different. It does seem like you don't have the right player object in the frog's player variable, around 5:20
@bguilleminot4 жыл бұрын
@@HomeMech Hi again, I did as you said, I created a new project and used the same assets, sadly the problem continues. The frog reacts when I approach to it, starts jumping fast but it doesn't move, it stays static in the same place jumping (the rotations work well though). When I move away the player the frog jumps slower but never returns to idle state. I've checked the graph many times comparing with the video but I can't see any mistakes, so don't know what could happen
@HomeMech4 жыл бұрын
@@bguilleminot K, thank you, that rules out a lot of variables. I was able to get it to work with my package and the included completed graph (following the Read Me steps). That's good news for me :) First, check that in the transition from Evading to Resting that the branch flow is False to trigger transition (the transitions are slightly different, Resting to Evading happens on True). If ever you want to test whether something is working, search for a "debug log" unit. Then get a "string literal" unit and put it into the message input. There you can type "Frog is safe!" and see that message in the Console window (Window>General>Console). If no message occurs, you are close to finding your issue. Since your frog isn't moving, could you check to see if "Apply Root Motion" is enabled on the frog? It is on the frog, on the Animator component below Controller and Avatar. This enables the frog animations to move the rigidbody on the frog.
@workflowinmind4 жыл бұрын
100th Like ! Thanks for this video.
@HomeMech4 жыл бұрын
100th time I get to feel cool, thank you! :D
@MrZero000cool4 жыл бұрын
thanks so much!
@HomeMech4 жыл бұрын
My pleasure! Hope you figured out the day/night cycle :D Feel free to say hi on Discord if you had any trouble (@homemech#7937)
@MrZero000cool4 жыл бұрын
@@HomeMech
@ppmpyae11524 жыл бұрын
Love it.
@its_puzzled6 ай бұрын
it would be so good if you expand the part with visual scripting, that is important and small size cause this frog is not important at all and just take a space here, it makes so uncomfortable to see the video from usual display and not something like 4k, well may be you just dont care about someone who have no 4k display then it allright could nt see/read anything, went to another videos on youtube, pity true, it was interesting to know frog story
@HomeMech5 ай бұрын
Ah, thanks for telling me. Actually, the graph is zoomed in as much as possible, so in the future if I do another UVS video I'll record at a higher resolution so I can zoom in closer without a loss of resolution for normal HD.
@blatou123 жыл бұрын
Very Good tutorial, but I felt lost in one thing, how do I make the frog hop further away? I have altered his size and that made him jump further but I don't know how to do it without messing with his size...
@HomeMech3 жыл бұрын
Thank you! The frog's movement comes from "root motion," the animation drives the movement. You can look this up in the Unity docs. The easiest way to increase the distance of the hop would be to duplicate the jump animation so that you have an editable version and then try to increase the hop distance on the animation.
@djakademiksschool77934 жыл бұрын
more more moreeeeeeeeeeeeeeeeeeeeeeee
@HomeMech4 жыл бұрын
Coming right up! Next week probably :D
@snootsy314 жыл бұрын
who else came from the toxic frogs unity asset page