Procedural Animation: Tail, Wings, Hair, Tentacles! (Unity Tutorial)

  Рет қаралды 137,211

Blackthornprod

Blackthornprod

3 жыл бұрын

Join Thomas Brush's Full Time Game Dev course (40% off with code NOA): full-time-game-dev.teachable....
---------------------------------
Owen's Games: owensenior.itch.io/
Owen's Twitter: / ostsenior
---------------------------------
Rotate towards 2D object Tutorial (by Krister Cederlund): • Rotate or Aim Towards ...
---------------------------------
Twitter: / noacalice
Discord: / discord

Пікірлер: 267
@JasperDev
@JasperDev 3 жыл бұрын
Really nice effect, dude :0
@BlueberryMauro
@BlueberryMauro 3 жыл бұрын
Que haces aqui? ._.
@VoidAshen
@VoidAshen 3 жыл бұрын
for those who didn't get the head rotation code: I'll give a brief explanation 1. direction = target.position - transform.position; basic vector math whenever you want a direction vector between 2 points, you subtract them. 2. float angle = Mathf.Atan2(direction.y, direction.x) * Mathf.Rad2Deg basically calculation angle like in a unit circle. now you might ask, why is it y and x and not x and y because coordinates will be (cos, sin) it's because unity's angle system as 90 degrees of offset, and sin and cos also have the same, so we exchange them. It will also work if you did x and y and subtracted 90 and Mathf.Rad2Deg does what it says. 3. Quaternion.rotation calculates rotation on the z-axis(Vector3.forward) based on the angle we provide. 4. we use the calculated rotation to rotate the head and that's it. hope you got it. :D you can watch Sebastian Lague's video on trignometry for more details.
@Zackross712
@Zackross712 Жыл бұрын
hey i tried to do the target how do i set it to a object
@AstroSamDev
@AstroSamDev 3 жыл бұрын
I absolutely love procedural animation, it makes games look so much more interactive and real
@thereadypunk757
@thereadypunk757 3 жыл бұрын
I love your art style, I’m surprised how well the smooth, blurred backgrounds work so well with the crisp cartoony art.
@avivyoukerharel2140
@avivyoukerharel2140 3 жыл бұрын
This is so amazing! I always adored these smooth juicy Trails, Thank you so much for sharing this amazing tutorial noa and owen!
@monkeysaur4305
@monkeysaur4305 3 жыл бұрын
I asked about this in the comments for your recent gamejam entry video, maybe you saw it. Thanks for making this video, these kind of things are great to learn about! :)
@avivyoukerharel2140
@avivyoukerharel2140 3 жыл бұрын
Same :)
@golamashraf1464
@golamashraf1464 2 жыл бұрын
Absolutely loved this inspiring tutorial, especially because I am a nerd for procedural animation, and what it does to open up young minds to math and science they learn in school! Thank you...
@roguelove5807
@roguelove5807 2 жыл бұрын
Your tutorials have helped me out with my own game, Stop the Saturnians, so much! Thank you! This one in particular taught me how to build the Centipede enemy ships. Thanks again, really appreciate what you do :)
@master.9202
@master.9202 3 жыл бұрын
I LIKE THAT TITLE! Thanks for this tutorial ,it's really appreciated!
@stefanbartolo
@stefanbartolo 3 жыл бұрын
I can't believe you did a tutorial about this. I asked you how you created this in your BTP game and voila' .. a whole tutorial about this :) This is awesome! Thanks for your fantastic videos!
@trananhkhoa4589
@trananhkhoa4589 2 жыл бұрын
Can't thank you enough for your tutorial. These type of creatures I hadn't ever thought of making it, because of the complexity my brain created. Thank you very much!
@NeatGames
@NeatGames 3 жыл бұрын
Dang this is so cool! I'm gonna try this in my current devlog project, thanks for sharing this :D
@sapientunderground
@sapientunderground 3 жыл бұрын
Perfect timing, exactly what I needed right now, thanks!
@madmax7876
@madmax7876 8 ай бұрын
Dude this video is a life saver. I was trying to get a worm enemy in my game right for days now and this is just perfect!
@Iramontes
@Iramontes 3 жыл бұрын
This is awesome! I love doing procedural animations on gamemaker, so your video made me super exited to try it on unity!
@FiddleStickNick
@FiddleStickNick 3 жыл бұрын
This was super fun to make! Thank you blackthornprod and Owen for sharing :)
@tobyk5091
@tobyk5091 3 жыл бұрын
This is going into my playlist of Very Helpful Gamedev Stuff
@BlueGooGames
@BlueGooGames 3 жыл бұрын
Super cool Noa! Now I just need to figure out what to use this for in our 2D world 😀
@bwulf
@bwulf 3 жыл бұрын
Thank you! Gonna use this to animate ropes in the wind for my 2D metroidvania! I was animating all of then by hand - think about time consuming….
@sherwinclaridge2807
@sherwinclaridge2807 3 жыл бұрын
Really nice effect. Ive been using the built in particle system's trail module for basic trails at the moment
@DJnoratos
@DJnoratos 3 жыл бұрын
Finally some quality tutorial :) Good job !
@playtotroll2336
@playtotroll2336 3 жыл бұрын
Vraiment les meilleur Tutorial. Merci :) The best Tutorials man I LOVE YOU
@ash_does_dash
@ash_does_dash 3 жыл бұрын
Thank you. Powerful examples inspired me to use this way instead of animation keys.
@aneverything448
@aneverything448 3 жыл бұрын
You are back to tutorials I like that
@carrotmaster8521
@carrotmaster8521 3 жыл бұрын
8:48 OMG I KNEW THAT WAS KEKE AS SOON AS I SAW IT. Also i need this for my project soon so thats awesome that this vid happened to come out
@Max-ci2re
@Max-ci2re 3 жыл бұрын
BlackThornProd you are a god Your art is great and there is nothing to hate Your the best keep up the good work
@wafa6377
@wafa6377 3 жыл бұрын
everyone say it with me... thanks owen senior and noa! it looks great
@ThiagoPrego
@ThiagoPrego Ай бұрын
As always, super fun, super informative and super easy to understand. May the Lord bless you always.
@katrinacalice6484
@katrinacalice6484 3 жыл бұрын
I really love the effects and flow of these creatures with long tails or wings, so smooth and beautiful, how I would love a game without obstacles , just a fun discovery of beautiful movement art like yours and music to go with a fabulous world created, like an animated story , what do you think NOA? 😉
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
What a great use of the Line Renderer. Nice one dude
@MrAnaKol
@MrAnaKol 3 жыл бұрын
Dude who made it THANK YOU!!!!
@saultoons
@saultoons 3 жыл бұрын
Wow this is exactly what I was looking for!!! Thanks a lot 😁
@cutecandygames1874
@cutecandygames1874 3 жыл бұрын
Hey i know you
@saultoons
@saultoons 3 жыл бұрын
@@cutecandygames1874 ello :D
@stardreamix786
@stardreamix786 3 жыл бұрын
Amazing! Thank you so much for uploading! ;)
@kanedenooijer5785
@kanedenooijer5785 3 жыл бұрын
Another good tutorial as always!
@tobiacancelliere6972
@tobiacancelliere6972 3 жыл бұрын
Very beautiful effects.
@GARTZ09
@GARTZ09 3 жыл бұрын
I was looking for this, thank you so much man
@Gregasaurus
@Gregasaurus 3 жыл бұрын
awesome stuff, Owen and Blackthornprod. Would love to see tutorial for 3D effect!
@hm4266
@hm4266 3 жыл бұрын
That’s very cool thanks for sharing and shoutout to Owen)
@BlueberryMauro
@BlueberryMauro 3 жыл бұрын
Nice video! I´ll 100% use this for one of my games
@tauheedgamedev2388
@tauheedgamedev2388 3 жыл бұрын
Some really nice uses for the line renderer, now I just need to learn to make art.
@JustP3DS
@JustP3DS 3 жыл бұрын
If only I had seen this earlier. This looks awesome :)
@sathyanarayananviswanathan3770
@sathyanarayananviswanathan3770 2 жыл бұрын
I am gonna add this technique to my sprite mask and modify it a bit..... thanks for the tutorial btw
@Itsysss
@Itsysss 3 жыл бұрын
Now this is *something* else
@josean_3gd
@josean_3gd 11 ай бұрын
Great, thanks, just what I was looking for.
@tanmayupadhyay2027
@tanmayupadhyay2027 3 жыл бұрын
Hey great tutorial noa !👍
@eriknastesjo843
@eriknastesjo843 3 жыл бұрын
Awesome, thank you! You seem to always notice where there is a tutorial gap on youtube :)
@diliupg
@diliupg 3 жыл бұрын
Black On The Block! Great as usual! Black is the new Brackey!
@Sam-cj3wv
@Sam-cj3wv 3 жыл бұрын
definitely saving this one for later
@AayushChaudharyGames
@AayushChaudharyGames 3 жыл бұрын
Alright, let's do this Noah! Thanks for this, 🥰. Will be using this in my game. Love your art style, will surely check out other game Devs you mentioned. ❤️
@Yipper64
@Yipper64 Жыл бұрын
this is exactly what I needed! Im making a platformer and I want the main character to have a nice looking scarf that follows him, and I think this will look perfect. there's something ethereal about the style of my game so I think the lack of gravity will only add to that. edit - I put it together and *I love it so much!*
@nikhilvardhantawania4591
@nikhilvardhantawania4591 Жыл бұрын
Hey, how do you stop your scarf's length from getting increased when your player moves. For me when my player moves his hair length increases on of its own then the original size when player is standing.
@madmanga64
@madmanga64 3 жыл бұрын
Awesome work!
@JustFor-dq5wc
@JustFor-dq5wc 5 ай бұрын
Quick Tip: To simple rotate transform you can use transform.right = -direction; transform.right = direction; transform.up= direction; or transform.up= -direction, depending on which direction you have a sprite
@shaldar44
@shaldar44 3 жыл бұрын
Amazing effects. Is it possible to have mesh/rigidbody effects on these trails? That will allow them to have colliders and give/take damage....
@waylansnider2180
@waylansnider2180 3 жыл бұрын
Thank you Owen!
@ParthivRaju
@ParthivRaju 3 жыл бұрын
Thank you Owen 😊
@rubencrespo9699
@rubencrespo9699 2 жыл бұрын
Thanks... very good tutorial
@lubu682
@lubu682 2 жыл бұрын
thanks, owen, you saved me
@rafateivfik
@rafateivfik 3 жыл бұрын
How would one go about procedurally animating the clothes like the ones on the character from 0:34 to 0:37?
@VeneDrummer
@VeneDrummer 2 жыл бұрын
Im trying to figure out how to make it so the tip of the tentacle can attack things. Almost like an IK where I can have a target that pushes toward something. Let me know if yall have any ideas :)
@burningapparatus5211
@burningapparatus5211 3 жыл бұрын
The secret to good platformers is hair physics. (cough cough Celeste cough cough)
@coralcrowglow
@coralcrowglow 3 жыл бұрын
there's so much coughing here that I believe perhaps you should go and get COVID tested
@rendered3090
@rendered3090 3 жыл бұрын
It's just the good gaming chair
@JovsValorant
@JovsValorant 3 жыл бұрын
Yeah i was actually curious how to code that in unity
@milanstevic8424
@milanstevic8424 3 жыл бұрын
@@JovsValorant covid?
@JovsValorant
@JovsValorant 3 жыл бұрын
@@milanstevic8424 are you ok bro?
@lietajucemaciatko383
@lietajucemaciatko383 3 жыл бұрын
Thank you Owen
@tassiomiranda2985
@tassiomiranda2985 3 жыл бұрын
Thanks Owen!
@daksh_mamgain
@daksh_mamgain 3 жыл бұрын
Welcome back tutorials.......
@moiseslozano6906
@moiseslozano6906 3 жыл бұрын
Beautiful
@CodingWorm
@CodingWorm 3 жыл бұрын
Gotta save this for later
@echophantom8511
@echophantom8511 3 жыл бұрын
Yeah, this is a really nice vid
@valorantmuxur6453
@valorantmuxur6453 3 жыл бұрын
Nice video good job 👏
@DARÉ_REBELO
@DARÉ_REBELO 3 жыл бұрын
thank you owen
@geri4367
@geri4367 3 жыл бұрын
Imagine now using a All In 1 Sprite Shader material on top of this awesome stuff 😎🔥
@Blackthornprod
@Blackthornprod 3 жыл бұрын
Oh YES man. Will be merging the two in future projects!
@geri4367
@geri4367 3 жыл бұрын
@@Blackthornprod Hell yeah, some sort of spooky misty trail or something like that. Although I'm sure you'll think something better :D
@bigjamar
@bigjamar 3 жыл бұрын
Excelente..!!!, muchas gracias..!!
@awesomeperson3342
@awesomeperson3342 3 жыл бұрын
It’s been a long time since I watched blackthornprod :)
@Blackthornprod
@Blackthornprod 3 жыл бұрын
Welcome back :)!
@taylormadegames7900
@taylormadegames7900 2 жыл бұрын
Love this effect, putting it to some use in my latest prototype. However I am trying to increase the scale of my player GO/Sprite when they collect food but the "tentacle" does not scale with the parent object. Anybody got any ideas on how I could do that?
@willofd.816
@willofd.816 3 жыл бұрын
I'm a Man of Culture and I have seen Enough Tentacles to know where this is going ✨
@emmaly8993
@emmaly8993 3 жыл бұрын
n O
@itsonemole
@itsonemole 3 жыл бұрын
Really love your vids, just a request, please post videos more often.....Thanks....!!!!
@Bruce.B
@Bruce.B 3 жыл бұрын
Great tutorial. Thank you. But I am shocked and said "Oh my god! I love those characters" at 8:48 . He seems to be nailing the style. When can we play that?
@danielamareen7321
@danielamareen7321 2 жыл бұрын
Great help! thank you. quick question please: Could I add this procedural animation to an already animated mesh 2d character? I mean imagine a dragon, that when you turn it left, you see more of it's side and under belly (adding a 3d effect sort of), while also applying this procedural animation to it. Thanks for anyone who can help me with this information.
@Steelearth126
@Steelearth126 3 жыл бұрын
What videos/channel should I check out in order to learn how to create the sprites from scratch (size, how many pieces, application) for 2d skeletal animation like darkest dungeon, shank, mark of the ninja etc type games?
@99bosses22
@99bosses22 Жыл бұрын
This video was amazing! I do want to point out though, that the script requires the ResetPos() function to work correctly. In your example, the character was placed at Vector3(0,0,0) in the world, so it worked fine, but it is a problem if the character is placed anywhere else. This is because the first point is placed at the character's position, but all 29 other points show up at Vector3(0,0,0). When the game starts, the tail will be stretched all the way to the center of the world and then retract to the character. Running ResetPos() in Start() works great to fix this :)
@DonTouch
@DonTouch Жыл бұрын
Hey if you see this could you give me some insight, I maybe am not far enough in the video to have seen him implement the resetPos() yet Thanks in advance!
@99bosses22
@99bosses22 Жыл бұрын
@@DonTouch RestPos() shows up briefly at 12:32
@DonTouch
@DonTouch Жыл бұрын
@@99bosses22 Thanks so much! 🤘
@hermanator5543
@hermanator5543 3 жыл бұрын
Hi, when are you going to release the multiplayer tutorial? I love your videos btw.
@Blackthornprod
@Blackthornprod 3 жыл бұрын
Hey :) I've released an online multiplayer course on Udemy with my brother! People seem to really like it, and it's a great financial support for us, so consider learning from it. There's also a 30 day money back guarantee, so if you don't like the teaching style, you can get a refund. Cheers!
@Xcceler
@Xcceler 3 жыл бұрын
@@Blackthornprod I just bought your Game dev/art and 2d game courses. I hope to learn as much as possible. Also keep up the good work. Watched quite a few of your KZfaq videos first to judge you xD. I can see me spending a lot of hours watching your tutorials. Cheers.
@rendered3090
@rendered3090 3 жыл бұрын
Why is everyone saying "Chears" at the end
@toastgames9028
@toastgames9028 3 жыл бұрын
@@rendered3090 You spelt cheers wrong. Cheers
@collinschigbata7932
@collinschigbata7932 3 жыл бұрын
Nice tutorial Really appreciate it I can’t seem to get my Tentacle 1 object to move Don’t know why
@oricz8210
@oricz8210 11 ай бұрын
i know in kinda late, but would it be possible to add a collision to the tail, i couldnt find any solution because it is moving by transform.position
@vuminhphuoc137
@vuminhphuoc137 6 ай бұрын
hi, love your content! may I ask one question: is there anyway I can make a tile- base plant ( seaweed for example) that apply this procedural animation and can be add or remove length? Thanks in advance
@piousthepious
@piousthepious 3 жыл бұрын
Amazing tutorial! How would someone add some kind of gravity effect in case we want something similar to a tail or hair that looks naturally influenced by gravity?
@fragrantupholstery2779
@fragrantupholstery2779 3 жыл бұрын
My solution was to make a new float variable called 'Gravity' and set it to something like 0.5, then for the second parameter of Vector3.SmoothDamp I would put new Vector3(segmentPoses[i - 1].x, segmentPoses[i - 1].y - gravity)
@piousthepious
@piousthepious 3 жыл бұрын
@@fragrantupholstery2779 Oh wow thank you!
@lincolncharlles
@lincolncharlles 2 жыл бұрын
Thank you so much, made my day
@Loztc0ld
@Loztc0ld Жыл бұрын
kind of a long shot but did you guys get this working?
@kodaxmax
@kodaxmax Жыл бұрын
is there a practical way to get collisions from the "tentacle"? im guessing there isn't but i have some fun ideas if there is.
@Serim_holy
@Serim_holy 2 жыл бұрын
I really try to recreate the tail of the fox in a character and I can't do it T_T, it gets longer all the time and if I manage to stop it from getting longer it doesn't move naturally. Thanks for the video!
@sarahcruz2103
@sarahcruz2103 2 жыл бұрын
I'm super interested in the way that fox's head was made. Is he 2d as well? Looks more 3d or perhaps 2d perspective code manipulation
@jazibshahzad5392
@jazibshahzad5392 3 жыл бұрын
What if I have to detect collision of trails? Is there any solution of it?
@willthunder7212
@willthunder7212 3 жыл бұрын
At first It was giving me a bunch of array errors but later I realized I forgot to reference the line renderer inside the tentacle script, lol don't make my mistake but is there a way to make it so that player sprite is facing up instead of the right?
@Zackross712
@Zackross712 Жыл бұрын
hey can somebody help me its saying that target is invalid even though I followed all the steps.
@neodyy3436
@neodyy3436 3 жыл бұрын
How can you make it, that when you stop the mouse, the tentacle will squash and then again stretch instead of just stand still?
@UnityGameDev
@UnityGameDev 3 жыл бұрын
awesome
@vikramaditya1364
@vikramaditya1364 3 жыл бұрын
How to make glide in unity for 2d game?????? Plzzzzzzzz help
@giuliodl2212
@giuliodl2212 Жыл бұрын
Can I do something similar to move through but with velocity?
@oyunlarveparodiler3221
@oyunlarveparodiler3221 3 жыл бұрын
YESS I ALWAYS IEKD THOSR
@jameslink2068
@jameslink2068 5 ай бұрын
I know its been 2 years, but how would you go about taking it a step further to simulate like a real life tail that sorta flops around like the rainworld slugcat tail?
@epich307
@epich307 3 ай бұрын
how can I add collision physics to the tentacles?, you know... to not clip in the walls
@thespontaneoustomato2676
@thespontaneoustomato2676 3 жыл бұрын
I was looking for something like this a few days ago xd
@FerreroRopher
@FerreroRopher 3 жыл бұрын
is it possible to add collision to the tentacle/hair/ whatever? Would you just have to add like a rigid body to it or something?
@pelodofonseca6106
@pelodofonseca6106 Жыл бұрын
Yeah i managed to do it.
@oricz8210
@oricz8210 11 ай бұрын
How, i cant seem to figure it out@@pelodofonseca6106
@hishanthpuvanendran9670
@hishanthpuvanendran9670 3 жыл бұрын
hey yo, how can I add collider on the tail so I die when I touch enemy tail
@norvinshaqlintag9214
@norvinshaqlintag9214 3 жыл бұрын
Hi, I just want to ask if I can do it with a Cape, or Cloak wave animation using this? ^_^
Intro to Animation Rigging & Procedural Animation in Unity
13:33
iHeartGameDev
Рет қаралды 173 М.
7 DEVS Make a GAME without COMMUNICATING! (centipede edition)
17:16
Blackthornprod
Рет қаралды 1 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 4,9 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Русалка
01:00
История одного вокалиста
Рет қаралды 7 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 4,2 МЛН
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,5 МЛН
Rendering Organic Monsters
6:39
RujiK the Comatose
Рет қаралды 437 М.
How To Make A 2D Ik-Driven Spider
11:16
ThatOneUnityDev
Рет қаралды 17 М.
Procedural Animation in 5 Minutes | devlog 1
5:26
Benjamin Blodgett
Рет қаралды 54 М.
The Rain World Animation Process
29:17
GDC
Рет қаралды 359 М.
Designing (Procedural) Monsters
4:31
RujiK the Comatose
Рет қаралды 927 М.
What's The Deal With Procedural Animation?
11:24
Geat
Рет қаралды 33 М.
7 DEVS Make a GAME without COMMUNICATING! (we never saw this coming)
20:12
Creating procedural walk movement | Prototype Series
5:50