DOTWEEN is the BEST Unity asset in the WORLD and I'll fight anybody who disagrees

  Рет қаралды 181,361

Tarodev

Tarodev

Күн бұрын

DOTween is the very first thing I install upon creating a new project. Animate your position, rotation and scale in a single line of code, with all the customization you could hope for... and that's only scratching the surface.
For the full documentation: dotween.demigiant.com/document...
❤️ Become a Tarobro on Patreon: / tarodev
=========
🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: / discord
✅ MORE TUTORIALS: / tarodev
00:00 Stupid Intro
00:20 What is DOTween / Installing
02:00 DOTween basics
08:35 Sequences and Tasks
14:37 Additional features
17:55 DOVirtual - Tweening values
18:55 SpeedBased for reliable speed over distance

Пікірлер: 343
@Tarodev
@Tarodev 2 жыл бұрын
For everybody commenting that I pronounce it wrong: twitter.com/Tarodev/status/1455737094718967815 If you were about to blast me for it and then saw this, you have to like this comment to apologize to me 💋
@PuNkTrAnKaS
@PuNkTrAnKaS 2 жыл бұрын
I disagree with you. There are better libraries, and I would post it here, but you keep deleting my comments....
@Tarodev
@Tarodev 2 жыл бұрын
@@PuNkTrAnKaS I've actually never deleted a comment in my life. But I do notice sometimes I click a notification and it goes nowhere... I think YT scans them and deems them hostile or something? Not sure
@mustFLEXboi
@mustFLEXboi 2 жыл бұрын
Nice costume
@r6scrubs126
@r6scrubs126 2 жыл бұрын
@@Tarodev that definitely does happen. I've had it happen a lot on various channels of mine and noticed it if I comment something with certain keywords in on other channels
@Tarodev
@Tarodev 2 жыл бұрын
@@r6scrubs126 Pretty frustrating :(
@018FLP
@018FLP 2 жыл бұрын
I love Dotween, BUT i personally think it lacks tutorials and things that only somebody more experienced would get any insights in... And it's not that Dotween is not user friendly, but the manual is a way too simple. So, if you want to make more tutos or even more straight examples like you did, i think it would be a great public service! =D Also, is that a Tetris Block costume? lol
@Tarodev
@Tarodev 2 жыл бұрын
You bet your sweet blocks it is 😉
@nguyenhs9800
@nguyenhs9800 2 жыл бұрын
Dude, the package itself is so damn simple to use! More tutorials could be nice but I personally don't think the current manual is enough. I used it in my first job as game dev and I love it at first sight :3
@rhysvanderwaerden5518
@rhysvanderwaerden5518 2 жыл бұрын
Seemed pretty straight forward to me! I think there are examples.
@Vastlee
@Vastlee 2 жыл бұрын
The other advantage to multiplying vs dividing is that you can't accidentally /0 and ending the universe.
@teliph3U
@teliph3U Жыл бұрын
If you're not using constants, then getting the reciprocal will cause it. If you do, then the compiler can and will do it for you. Sacrificing readability or architecture for something you do not know whether it will affect performance is usually not worth it.
@coreysonofander
@coreysonofander 2 жыл бұрын
This video should be included with DOTween's documentation. I just purchased DOTween 2 days ago and trying to understand how it works is very difficult with their documentation. Thank you for this, it's exactly what I was looking for.
@TwinStick
@TwinStick 2 жыл бұрын
I whole heartedly agree!!! I LOVE how all the tweens are awaitable as well!
@jsn4591
@jsn4591 2 жыл бұрын
I love Dotween. It's usually the first thing I import into any project. It solves so many problems so easily. Being able to tween any value makes it sooooo damn useful. My first asset I paid for too, totally worth it!
@loizosrr
@loizosrr 2 жыл бұрын
Thanks for all those videos you are making, everything is so helpful. Btw backgrounds are always so cool! 🤘
@seanloughran6714
@seanloughran6714 2 жыл бұрын
Super helpful, I've always been interested but I've hated the written tutorials. This is perfect!
@roux904
@roux904 2 жыл бұрын
just discovered this channel, "speedbased" tween is what i've been searching for a long time !
@Tarodev
@Tarodev 2 жыл бұрын
I almost didn't include that. Was a split second decision. Lucky 🍀
@Kotikire
@Kotikire 2 жыл бұрын
This is EXACTLY what I was looking for. Great video, thanks!
@christianstachl
@christianstachl 11 ай бұрын
Really nice explanation. I recently started with game development and throughout the course we started using Dotween in a rather simple way (mostly just LocalMoveX and DoFade etc). So far i don't need more, but i will definitely save your video for future references 😊👍
@shoco2
@shoco2 2 жыл бұрын
Heard of this tool a lot but never seen an example, great showcase, ill definitely pick it up
@dreamisover9813
@dreamisover9813 2 жыл бұрын
I don't check my subscriptions that often, but I usually find your videos on reddit, awesome stuff!
@Tarodev
@Tarodev 2 жыл бұрын
My poor reddit posts never do good, but I'm glad you found your way to me via reddit 😁
@Zukomazi
@Zukomazi 2 жыл бұрын
Definite one of the most useful assets , I've been sleeping on this one.
@TheJoeSke
@TheJoeSke 2 жыл бұрын
Thanks for the video. It again shows the power of DOTween and is nice to see. I'd love to see some more advanced implementations of DOTween in either sequences or Async setups. So maybe a a Part 2 perhaps? Thanks.
@Tarodev
@Tarodev 2 жыл бұрын
I had a more complex async workflow outlined and decided against it for the video. Damn! 😂
@TheKr0ckeR
@TheKr0ckeR 2 жыл бұрын
I was having issues understanding local & global, and that was a plus from a video to me! :) thanks
@redeamed19
@redeamed19 2 жыл бұрын
I touched very briefly on Dotween years back. This video makes it clear I need to dedicate more time to this library.
@piotrwilczynski4366
@piotrwilczynski4366 2 жыл бұрын
DoTween has raw documentation, so videos like yours are invaluable. Thanks man, great examples :) BTW please increase the font size or try zooming in, your code is barely visible when viewed on a notebook
@Tarodev
@Tarodev 2 жыл бұрын
Noted! I'll try remember for next time 👍
@Icewind007
@Icewind007 2 жыл бұрын
I am completely sold. That's some awesome stuff that I feel like I have to rewrite every single time I start a new game.
@insigpilot
@insigpilot Жыл бұрын
Came back here after months w/o development. A great resource you are!
@crazyconan28
@crazyconan28 2 жыл бұрын
This helped me immensely though a issue I had with Leentween with async functionality. It's so awesome that Dotween has it out of the box, very easy to use!!! Thank you for this video, I got very lucky I accidently stumbled across it.
@Tarodev
@Tarodev 2 жыл бұрын
Glad it could help you 😊
@VikkersOlfsson
@VikkersOlfsson 4 ай бұрын
Another legendary Tarodev tutorial has got me up and running in 2 minutes. Bless your shiney beard son.
@ShiloBuff
@ShiloBuff 2 жыл бұрын
5:25 Woah, I never knew it was more optimized/faster to use the * operation over /. I usually just use whatever is easiest to read and more simple, which I probably would recommend to anyone that has a simple application. But I will remember that for future, thank you!
@neolynxer
@neolynxer 2 жыл бұрын
I think the compiler will replace invariant division with multiplication for you.
@xxxx85
@xxxx85 2 жыл бұрын
@@neolynxer Yeah, compilers are *really* clever, something as simple as this should definitely get picked up.
@winter0912
@winter0912 2 жыл бұрын
In that specific case (dividing by 2) it doesn't matter, I think. A decent compiler will replace mul/div involving powers of 2 to left/right bitshift
@ezequielciamparella1653
@ezequielciamparella1653 2 жыл бұрын
the compiler will just change it afterwards. Dont try to outsmart a compiler, do your best to write readable code
@kawaiianthony8090
@kawaiianthony8090 2 жыл бұрын
when i was thinking to code a jump animation by myself, i saw this video, and dotween has that built in, Nice!
@andrasczanik1112
@andrasczanik1112 2 жыл бұрын
Hey, awesome video! I also use doTween for my project. So I know the libary, but your video was very well made and informative for me too. Keep up the good work!
@chahdstudio8849
@chahdstudio8849 2 жыл бұрын
very good video as always, still waiting for the scene set up and feel
@ozancanacar8237
@ozancanacar8237 2 жыл бұрын
Incredible tutorial thank you!
@vittoriochiuselli5516
@vittoriochiuselli5516 Жыл бұрын
U make me fall in love with this library
@homemacai
@homemacai 2 жыл бұрын
Subscribed! Amazing content mate!
@Olelumos
@Olelumos 2 жыл бұрын
Great video. DOTween is my most critical tool on any game jam haha. My addition to this video would be: Kill VS Complete. You can Kill() a tween/sequence which has its corresponding onKill event. And the same goes for Complete() and onComplete. If you rely on something in an onComplete callback, this will not be called if the tween is killed. Just worth mentioning, since it also means you can add different behaviours by utilising both. Now I'm off to watch the async video :)
@Tarodev
@Tarodev 2 жыл бұрын
Check out the first optional parameter for Kill 😉
@toss2151988
@toss2151988 2 жыл бұрын
Super video thx! :) I use DOTween a lot but i learn some new stuff today :)
@isabellebussolariarantes1328
@isabellebussolariarantes1328 Жыл бұрын
Great intro to Dotween. THANK YOU!
@uhhmir
@uhhmir 2 жыл бұрын
how did you make this test project look so nice? everytime i try to use post processing or shaders it ends up looking like an asset flip
@anna_silver_moon
@anna_silver_moon Жыл бұрын
Awesome! 👍 Love you, Tarodev! 💖
@ITomocska
@ITomocska 2 жыл бұрын
Awesome explanation, thank you!
@freelancepakistangames7245
@freelancepakistangames7245 2 жыл бұрын
Ok so I'm sitting at my computer getting frustrated over making a parabolic jump and then I find this (15:02) masterpiece. Thankyou so much Sir 🤤😍
@WildG0ose
@WildG0ose 2 жыл бұрын
Love the content! Those leaves looks really nice. Would you care to reveal how you made them?
@SojoTaku
@SojoTaku 2 жыл бұрын
Don't know if i need to learn dotween right now but I will still watch the video
@RobLang
@RobLang 3 ай бұрын
Thanks for the great intro to DOtween! One thing jumped out at me. Seems like ages since your last video, hope you're doing OK. 5:28 - I disagree with "always be optimised as possible". Instead I would say that's premature optimisation and recommend measuring, deciding a frame budget and then optimising the bottlenecks using profiling tools. Much better to write the code as simply as possible for the audience of the code - be it someone else or future you. The compiler performs optimations that might make all your optimisations pointless. Your example is an excellent proof of my point. If the compiler detects that cycleLength is never changed it will make it a constant. Constant denominators are then anaylsed for their value and possibly converted to a multiplication. In this case, your denominator would be the integer 2, which is a bit shift operation! So if you did "/ 2" then it would be an order of magnitude faster than * 0.5! Argument against division are not optimisation but parametric chaining and divide by 0 errors. For example it's easy to see what 0.5 * 0.25 * 0.1 might look like but that does *not* transform into "/ 2 / 4 / 10".
@THExRISER
@THExRISER Жыл бұрын
God bless man, LeanTween wouldn't even load into my project, but I found a better alternative AND a great guide to go with it. This is the second time you made something I benefitted from (First being the 2D platformer framework).
@Tarodev
@Tarodev Жыл бұрын
Glad I could serve 😊
@THExRISER
@THExRISER Жыл бұрын
@@Tarodev Cheers bro!
@manuelgraca-gamedev7822
@manuelgraca-gamedev7822 2 жыл бұрын
Awesome video! Great explanation and great humour :D
@Tarodev
@Tarodev 2 жыл бұрын
Glad to see somebody laughing with me and not at me 😂
@madscientist338
@madscientist338 2 жыл бұрын
Thank you for the very informative video!
@okandikkulak8057
@okandikkulak8057 Жыл бұрын
that local movement at 8:00 was cool
2 жыл бұрын
This async workflow with DOTween is very interesting. What about canceling before the tweens have finished? Did you look into that? I did not find a way to add a cancellation token to the tweens.
@JimPlaysGames
@JimPlaysGames 2 жыл бұрын
This is awesome, thank you! I've played around with DOTween but I found it a bit confusing, and this helps a lot. I am wondering, is there a way to update the target position of a DOMove while the tween is in progress? Like if I want an object to move towards the mouse cursor (but not be locked to it) and adjust its trajectory as the mouse cursor moves. So like it's chasing the mouse cursor. Is there a way to do that with DOTween? Cheers!
@Tarodev
@Tarodev 2 жыл бұрын
This is actually not a good task for dotween. You're better off just lerping manually in this case 😊
@Suley09
@Suley09 2 жыл бұрын
Very useful info. Thx for sharing
@voidling2632
@voidling2632 Жыл бұрын
I use Leantween, which I really love. I may buy this one, it seems to have more functionality.
@a3dadventure79
@a3dadventure79 9 ай бұрын
i like the old school chain code! some of us started on single file projects :-)
@retrodad9390
@retrodad9390 2 жыл бұрын
Thanks! Saved me a lot of time!..
@TwinStick
@TwinStick 2 жыл бұрын
DOT ween, or DO tween? (I pronounce DO tween - it really threw me off hearing DOT ween haha)
@Tarodev
@Tarodev 2 жыл бұрын
It's probably Do Tween, but I just chuck it all together and make it one word 😊
@jeffmccloud905
@jeffmccloud905 2 жыл бұрын
The developer's previous version was called HOTween, so it's probably indeed pronounced "dot"
@TwinStick
@TwinStick 2 жыл бұрын
@@jeffmccloud905 yeah that makes sense, now to train years of pronunciation out of me 😂😅
@kingreinhold9905
@kingreinhold9905 2 жыл бұрын
@@jeffmccloud905 Lol no their website literally colored "DO" and "Tween" in different colors 0:23
@akitoakito
@akitoakito 2 жыл бұрын
Do Tween. The funny part is that all the sub functions are DoX (DoMove, DoMoveX, etc 2:35 ) but I still hear people say DOT ween. I guess they don't know that tween is an animation term.
@VisualDima
@VisualDima 2 жыл бұрын
Why?! WHY?! Why you didn't do this video earlier?! I had no idea about all this nice features of Dotween. Thank you very much!
@Altair8113
@Altair8113 2 жыл бұрын
Nice video man, keep up the good work. Do you have an easy way of tweening things to a moving target (without reseting the tween every frame)?
@Tarodev
@Tarodev 2 жыл бұрын
Good question! For this I would actually manually lerp the transform. Specifically using MoveTowards.
@Martiriak
@Martiriak 2 жыл бұрын
Yeah, I tried using Dotween and manually changing the target - it was a fucking nightmare, never again ahaha
@AIAdev
@AIAdev Жыл бұрын
Thanks for this video past Tarodev. I’ve been doing some weird stuff to get some easing that DOTween does inherently
@AIAdev
@AIAdev Жыл бұрын
Also… I missed that this was a Halloween video… the costume makes sense now, but I do kind of hope you bring this back and film all of your videos in a costume
@Tarodev
@Tarodev Жыл бұрын
I'm glad I could offer assistance. Hopefully this makes up for yeeting your unicorn 🦄
@ArnaudJopart
@ArnaudJopart 2 жыл бұрын
I agree, I'm in love with DoTween. Pro version is a must. So no need to fight ! Great video, btw.
@Tarodev
@Tarodev 2 жыл бұрын
You're lucky... I had my fists up ready to go
@glassystudio
@glassystudio Жыл бұрын
Man just used Dotween for the games. It's absolutely best for the workflow and efficient too
@saimmunir2841
@saimmunir2841 Жыл бұрын
5:23 divided by two will make it rotate fast, exactly😐 Great tutorial, love ur work and positive energy❤️
@BroxAGM
@BroxAGM Жыл бұрын
it is duration so less duration same value = faster
@_kyt_
@_kyt_ Жыл бұрын
As someone coming over from using a lot of JS/jQuery in the last decade, DOTween looks really intuitive!
@Tarodev
@Tarodev Жыл бұрын
Rip jquery. You served us well
@grunglr
@grunglr 7 ай бұрын
Happy hallotween!
@sufianahmad7337
@sufianahmad7337 2 жыл бұрын
very well explained
@gvilas
@gvilas 2 жыл бұрын
And you can do amazing things not dependent on Time.Scale, example while pausing your game, your UI still have animations ;)
@nanda_gamedev
@nanda_gamedev 2 жыл бұрын
You can actually do that in regular Unity just so you know :) For Animations there should be a checkbox on the animator. In code you can just use Time.UnscaledTime
@gvilas
@gvilas 2 жыл бұрын
@@nanda_gamedev I know, but I'm totally against of using mecanim to animate UI
@nanda_gamedev
@nanda_gamedev 2 жыл бұрын
@@gvilas Oh yeah for UI i totally agree
@MiTheMer
@MiTheMer 2 жыл бұрын
Nice stuff! What do the Physics plugins do though? Haven't been able to find in the documentation.
@Tarodev
@Tarodev 2 жыл бұрын
They move the object using rigibody.move. It's silly though as it will still move through other colliders... So I don't see the point. Maybe somebody could fill me in?
@ardaozler631
@ardaozler631 2 жыл бұрын
Amazing tutorial thank you yellow man
@DaveUnreally
@DaveUnreally 2 жыл бұрын
It also is better on performance than an animation controller and skinned meshes. If and when you can, use DOTween!
@kerbalette156
@kerbalette156 2 жыл бұрын
Awesome channel. Glad I found it. Lol at your costume though brah
@Tarodev
@Tarodev 2 жыл бұрын
Hope it didn't scare you too bad
@howdy9517
@howdy9517 2 жыл бұрын
I notice you put the method on single called function (start, awake). From my noob experience isnt the movement need to do over time? (repeatly call function). What if we put the tween thingies on update()? Sorry i should test it myself but i'm too busy right now. But if you can enlight me that would be great. Anyway. Great videos!
@Tarodev
@Tarodev 2 жыл бұрын
This is one of the advantages of the package. You can call them singularly and the lerping all happens behind the scenes!. It'd be a very bad idea calling a dotween method in update as it'd start a new tween every frame (allocating more memory).
@howdy9517
@howdy9517 2 жыл бұрын
@@Tarodev Nice! gonna adapt my dotween in my project later. I've heard about it but never use.Tbh the documentation are scary as hell I dont even dare to touch it.
@gameShu_Yaksha
@gameShu_Yaksha 2 жыл бұрын
DoTween does generate around 25-50 KB of target per tween too quite often
@teliph3U
@teliph3U Жыл бұрын
I have no clue about Unity but I'm a little bit confused about the function chaining. Will the move start instantly? Are the successive calls then modifying this move object? How would you create a move with these properties set from the start? 5:55 Ignoring any issues with representation of some floating point numbers, the compiler should be able to optimize your divisions. That sounds more like premature optimization that you should avoid.
@avshkabura
@avshkabura 2 жыл бұрын
Thanks) I use it a lot)
@Trollholetoll
@Trollholetoll 9 ай бұрын
So I just found out about this and am new to animation. I was wondering how do you link the button to when you click it it does the animation? Also tysm for this this helped alot!
@Senayoshy
@Senayoshy Жыл бұрын
Silly question as I'm new to programming, but if say I wanted shape[2] to go before [0] and [1] how would I do that during the sequence? Thanks!
@pandarzzz
@pandarzzz 8 ай бұрын
Instant like for his costume 👍👍🍻🍻
@blakebudos7022
@blakebudos7022 2 жыл бұрын
Love your fucking videos. Got me somewhere I didn't know I could be.
@kenjiju2174
@kenjiju2174 9 ай бұрын
Thanks for the video. Do you have any tips on getting this working with intellisense in VS Code?
@tysonwoods724
@tysonwoods724 Жыл бұрын
Do you have any issues with multiple moves on screen at once? I’ve noticed when more than a couple moves are occurring at the same time, I see different computers have different issues from a blurred screen area to a system bogged down.
@ShinichiKudoQatnip
@ShinichiKudoQatnip 2 жыл бұрын
I love you for showing this 😍🤗😘
@apubetico
@apubetico 2 жыл бұрын
i use leantween and i love it
@Xenthera
@Xenthera 2 жыл бұрын
Dotween is definitely essential, but it causes the most frustrating bugs
@Pityon22
@Pityon22 2 жыл бұрын
Great vid, thanks and ofc subbed :)
@Tarodev
@Tarodev 2 жыл бұрын
Welcome aboard the taro train
@MandyLeeYT
@MandyLeeYT 2 жыл бұрын
Love your costume! ❤️
@Tarodev
@Tarodev 2 жыл бұрын
Tetris baby
@Shonia
@Shonia 2 жыл бұрын
If I want to punch a boxing glove to a moving target, how can I do it? when I set the destination and call it, the glove will go to that position which was remembered the call time. It needs somehow to update destination point.
@NoTimeLeft_
@NoTimeLeft_ Жыл бұрын
How does one 'ramp up' the speed of the rotate while keeping the looping infinite? SetEase can't do it. It needs to be at linear, otherwise after each rotation that speed resets and then eases in again. I've tried setting up a sequence but those don't support infinite loops. All I am looking to do it start something rotating slowly and over a certain duration reach a maximum rotation speed (or in the case of DOTween, a minimum rotate duration)
@servalstar
@servalstar 2 жыл бұрын
How can I change size of UI element with DOTween? Not scale - width or heigh.
@jonathanwhittingham9345
@jonathanwhittingham9345 2 жыл бұрын
Great tutorial, I want to be able to spawn waves in a 2d shooter game like Galaga or scroller like Gradius, Any tips on how to achieve this ?
@X360DevNerd
@X360DevNerd 2 жыл бұрын
This is great tutorial thanks!, May i ask. i am invoking a method to move to a random point in the game. but i am also applying rotation with DOTWEEN, how can i make the object change its rotation towards the new vector3?
@Tarodev
@Tarodev 2 жыл бұрын
Find the relative direction between the two objects and then change your objects direction to that. Mobile phone code: var dir = goalTransform.position - transform.position; transform.rotation = Quaternion.lookDirection(dir)
@bv5191
@bv5191 2 жыл бұрын
Wow this addon is amazing
@Tarodev
@Tarodev 2 жыл бұрын
B V. You're damn right about that
@stephenmackenzie9016
@stephenmackenzie9016 2 жыл бұрын
Awesome. It sits in a long line of game dev tools no one can pronounce, like Godot 👍🏻
@MasterArrow
@MasterArrow 2 жыл бұрын
I've been watching game dev content on KZbin for a long time, I'm shocked I haven't stumbled upon your awesome content until now. This one and the ObjectPooling explanation have been very helpful!
@devzozo
@devzozo 2 жыл бұрын
I like that there are extensions for rigidbody movement, as it'd be pretty bad to use transform movement on them.
@Tarodev
@Tarodev 2 жыл бұрын
Yes and I suppose that's why it's there, but as it doesn't give you the benefits of collision detection etc, it seems a bit pointless. I could be missing the point entirely... Maybe I should ask the creator. I'll update this comment if I find an answer.
9 ай бұрын
Thank you ❤
@dimatsyutsyura5167
@dimatsyutsyura5167 Жыл бұрын
Thank you. You are realy cool !) HAVE A NICE DAY ! LETS DO IT MORE AND MORE!
@kelvoid3023
@kelvoid3023 Жыл бұрын
Great video, thank you for going through so many example use cases. Maybe some one can help me out, I'm having trouble with that issue where if you trigger the Shake continuously it'll begin to offset the object from its original position, I cant seem to get the fix where we return out of the function if its already working. Apologies in advance I'm a novice programmer, while I understand the concept of why this works I'm uncertain how it's meant to be implemented. Thanks!
@Tarodev
@Tarodev Жыл бұрын
Yeah, this has always been a problem for me. Just take note of the local position before starting the shake and reset it in the OnComplete callback
@belajashark9211
@belajashark9211 Жыл бұрын
Thank you nice guy in a yellow cube! Before this video, I've googled for hours to find an example, how to use that goddamn OnComplete))))
@Tarodev
@Tarodev Жыл бұрын
You're welcome
@MohammadRashed.
@MohammadRashed. 2 жыл бұрын
Can you do a tutorial on how you did the wind direction & Leaves particles
@this-is-gamedev
@this-is-gamedev 2 жыл бұрын
Cool video! DOTWeen is also in my top 3 assets for Unity. I made a video about that, but much less complete than this :D
@Tarodev
@Tarodev 2 жыл бұрын
Nice video and good top 3. Good luck with your channel! 👌
@EZboyrocks
@EZboyrocks 2 жыл бұрын
Let's say I want an object to pop off of the board with a simulated force and gravity, where it'll pop up or to the side and simulate falling out of the screen with gravity, would that be possible in DOTWEEN? Or should I just use like a 2D physics engine, would that be easier?
@Tarodev
@Tarodev 2 жыл бұрын
Although you can create an ease which can simulate physics, it does sound like a job for the physics engine. Of course that makes it non-deterministic. So you'll have to decide what you need most.
@EZboyrocks
@EZboyrocks 2 жыл бұрын
@@Tarodev Thanks! Would you recommend using like a Rigidbody 2D?
@EZboyrocks
@EZboyrocks 2 жыл бұрын
@@Tarodev Sorry, pretty new to unity and game dev lol
@Tarodev
@Tarodev 2 жыл бұрын
@@EZboyrocks I would recommend exactly that :)
@EZboyrocks
@EZboyrocks 2 жыл бұрын
@@Tarodev Thanks!
@LostSol25
@LostSol25 Жыл бұрын
Hi quick question, how do i sequence multiple objects to move then constantly loop, like you did at 8.50 but constantly looping?
@LostSol25
@LostSol25 Жыл бұрын
nevermind i figured it out, i can use sequence.Restart
@If_Jay
@If_Jay 2 жыл бұрын
How do you see all method overloads like that (mini window over the method name) on VS?
@Tarodev
@Tarodev 2 жыл бұрын
Resharper adds a bunch of useful features, code snippets, auto-import etc. I usually turn it off while doing tutorials but I forgot this time, woops!
@If_Jay
@If_Jay 2 жыл бұрын
@@Tarodev thanks 🐙
@wholebitmedia
@wholebitmedia Жыл бұрын
Have you tried using DOTween as a character controller? It seems to be only good for moving things around in a one shot way. It doesn't seem to work with regular axis input.
@Tarodev
@Tarodev Жыл бұрын
Oh yes, it's certainly not suitable for any kind of dynamic movement where the end goal is changing. People have tried... and failed
@paulkruger4156
@paulkruger4156 2 жыл бұрын
Is there a way to do scale and rotate of the same item at the same time?
@Tarodev
@Tarodev 2 жыл бұрын
Absolutely! I showcase that in the shake demo towards the end :)
@TabletopTriumphs2
@TabletopTriumphs2 2 жыл бұрын
Does SetLoops work on any function or just the ones in dotween?
@Tarodev
@Tarodev 2 жыл бұрын
It's specifically a Dotween function :)
@TabletopTriumphs2
@TabletopTriumphs2 2 жыл бұрын
@@Tarodev thank you.
10 Things You NEED to Be Doing in Unity
11:40
Tarodev
Рет қаралды 124 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 95 МЛН
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 19 МЛН
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 152 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,4 МЛН
Building Runtime UI with UI Toolkit In Unity
21:35
Game Dev Guide
Рет қаралды 25 М.
Why Animation Curves In Unity Are So Useful
7:39
Game Dev Guide
Рет қаралды 75 М.
Object Pooling in Unity 2021 is Dope AF
18:10
Tarodev
Рет қаралды 118 М.
What Jumping Spiders Teach Us About Color
32:37
Veritasium
Рет қаралды 1,8 МЛН
Recreating Balatro's Game Feel | Mix and Jam
7:21
Mix and Jam
Рет қаралды 42 М.
Why you should use code to animate your UI in Unity.
5:02
Game Dev Guide
Рет қаралды 325 М.