2D EFFECTORS in Unity - Tutorial

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • In this video we have a look at Unity's 2D effectors.
    ● Download Sprites: www.assetstore.unity3d.com/#!...
    ❤️ Donate: www.paypal.com/donate/?hosted...
    ····················································································
    ► Join Discord: / discord
    ♥ Subscribe: bit.ly/1kMekJV
    ● Website: brackeys.com/
    ● Facebook: / brackeys
    ● Twitter: / brackeystweet
    ········································­­·······································­·­····
    Edited by the lovely Sofibab.
    ········································­­·······································­·­····
    ► All content by Brackeys is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making the content free of charge.
    ········································­­·······································­·­····
    ♪ Baby Plays Electro Games
    teknoaxe.com/cgi-bin/link_code...

Komentáře • 235

  • @eruaiokoyomoh3177
    @eruaiokoyomoh3177 Před 4 lety +307

    I really like this guy, I mean I know he must have his own life and troubles, but he has such a great smile, it's so up lifting

    • @RaidenHeaven
      @RaidenHeaven Před 3 lety

      You can read the manual. What this guy doesn't tell you is you can't use those effectors when you use rb.velocity.
      You only need to take one step beyond this "tutorial" to found out how everything breaks.

    • @RohanNarahari
      @RohanNarahari Před 3 lety +8

      @@RaidenHeaven bruh wtf I think you replied on the wrong comment dude, he's talking about how he like the man and how uplifting he is, not about limitations of the topic at hand, suggest being careful while making serious comments

    • @RaidenHeaven
      @RaidenHeaven Před 3 lety +1

      @@RohanNarahari Yeap you are right. Not sure which comment I replay to. ^_^

    • @RohanNarahari
      @RohanNarahari Před 3 lety +1

      @@RaidenHeaven You a cool man, most people start a flame war, respek bro

    • @RaidenHeaven
      @RaidenHeaven Před 3 lety

      @@RohanNarahari But I didn't tried to start a flame war XD I really dislike videos that barely test anything... I wanted to see how things can mixed up with a rigidbody character. But anyway ^_^

  • @FlipYourLearning
    @FlipYourLearning Před 2 lety +33

    These effectors are so useful. I'm a bit surprised I hadn't heard of them on any of the unity courses I've done so far. But as always, Brackeys got it covered :)

  • @electromorphous9567
    @electromorphous9567 Před 4 lety +40

    the point effector is EXACTLY what I needed to make enemies in my game repel each other!!

  • @DouglasdAquino
    @DouglasdAquino Před 7 lety +52

    wow, thanks man, I was having a hard time figuring out one-way platform movement, but now it's all so clear and easy. Thank you a lot

  • @cheeseriners
    @cheeseriners Před 7 lety +1

    First time watching one of your videos. Gotta say, you don't lose time with useless stuff while explaining. I didn't get bored one single second, good job! Earned my subscription.

  • @sicariusdracus
    @sicariusdracus Před 6 lety

    You keep blowing my mind with your videos. You singlehandedly changed my whole outlook on building with Unity with ScriptableObjects.

  • @johndm1968
    @johndm1968 Před 7 lety +6

    I really enjoy your videos. you have great enthusiasm and explain everything well. Thanks!

  • @jonreed5431
    @jonreed5431 Před 7 lety +3

    Really incredible tutorial. Extremely well done and informative.

  • @dynamichunter843
    @dynamichunter843 Před 7 lety +3

    I always love your videos man, was hoping for a video like this as i'm currently making a 2D game and these will allow me to do many more gamplay mechanics :)

  • @turkym7md5
    @turkym7md5 Před 6 lety +24

    The last effector "platform effector" perfectly needed for doodle jump clones

  • @brandonmunford4375
    @brandonmunford4375 Před 7 lety +10

    Legendary, as usual :) thanks for the awesome videos!

  • @merovingio10101
    @merovingio10101 Před 5 lety +5

    This video was magnificent! Great time saver, thanks!

  • @alperalkan2000
    @alperalkan2000 Před 7 lety +10

    Very nice Tutorial again I love these short & helpful videos keep it up!

    • @Brackeys
      @Brackeys  Před 7 lety +3

      I'm really glad you like them! :D

  • @armo0375
    @armo0375 Před 7 lety +7

    WoW 700 likes no dislikes? Good job man! Keep it up!

  • @theradioactivemonkey
    @theradioactivemonkey Před 7 lety +2

    Awesome video, didn't even know these existed, can't wait to play with these 😎

  • @morphman86
    @morphman86 Před 4 lety +1

    And now we have everything we need to make a Jazz Jackrabbit clone. This video, together with the Level Editor from an Image, the 2D Pathfinding, the 2D Shooting and the Movement Controls tutorials actually gives us everything we need to completely replicate those games. That's about 40 minutes worth of tutorials to replicate a game series that had about 400 hours of dev time in the 90's.

  • @TheGamingzombie1
    @TheGamingzombie1 Před 7 lety +3

    This is so great! I had no idea about this, and I just so happen to be working on a 2D platformer!!

    • @jeffreylay9567
      @jeffreylay9567 Před 7 lety

      TheGamingzombie1 what r u working on? looking for motivated people to work with :p

  • @Oxmond
    @Oxmond Před 4 lety +3

    Unity's 2D effectors ROCKS!!! Great 2D tutorial! 👍🤓

  • @Dyzinel
    @Dyzinel Před 5 lety

    Dude, you have no idea for how much time I wanted to learn those...

  • @Totatix83
    @Totatix83 Před 7 lety

    That's cool ! Thanks for the video, I've actually just started making a 2D platformer this week-end so that's great ! :b

  • @matheusmachado5038
    @matheusmachado5038 Před 7 lety +5

    Perfect tutorial as always

  • @crazyfox55
    @crazyfox55 Před 7 lety +8

    The one-way collider was just what I was looking for. Thank you for making this tutorial on it. Is there anything similar for 3D?

  • @mintydog06
    @mintydog06 Před 4 lety

    Brilliant video, thanks :) The force field effect, do you think that would be good to use as a spring? So the player walks on a platform and the force field is there and pushes the player back? Or just use a spring joint and add a huge amount of force to the platform to send the player flying?

  • @toreole2993
    @toreole2993 Před 7 lety +4

    Damn i didnt even know that these existed. I need something like this for my next project aswell ^^

  • @iktech9507
    @iktech9507 Před 6 lety

    u r really amazing u simplied a lot of things for me thnx

  • @thijshoogenbosch5151
    @thijshoogenbosch5151 Před 7 lety +3

    Thanks for all your videos!

  • @Souneed
    @Souneed Před 3 lety

    omg i was exactly looking for this and about to make a gravitational black hole from scratch you saved me 😂

  • @seamew2108
    @seamew2108 Před 5 lety

    Wow, very helpful, easy and fun!

  • @mobilegameexplorer5145
    @mobilegameexplorer5145 Před 5 lety +3

    you are a life saviour, thank you very much

  • @riseoftech4k332
    @riseoftech4k332 Před 7 lety

    thank you soo much brackeys... nice work!!!!

  • @rezwansaki
    @rezwansaki Před 5 lety

    You are really nice. Please make more tutorials about Components like this. Is components and class same?

  • @bacongamer889
    @bacongamer889 Před 7 lety

    Awesome video! Didn't even know this existed!

  • @mitchiarikov2614
    @mitchiarikov2614 Před 3 lety

    Miss you Brackeys!

  • @davidwoek3041
    @davidwoek3041 Před 6 lety

    Thank you, great tutorial!

  • @MaximumSpice
    @MaximumSpice Před 4 lety

    randomly popped up, working on a game with boulders, legit want I will need later this week and didn't even know it!

  • @aneesh1283
    @aneesh1283 Před 3 lety +1

    your videos help a lot

  • @jmirandaJorge
    @jmirandaJorge Před 4 lety

    Perfect explanation! Tks!

  • @lennihuopa
    @lennihuopa Před 2 lety

    OH IM SO HAPPY I WATCHED THIS I NEEDED THIS

  • @haohuoya2871
    @haohuoya2871 Před 6 lety

    amazing video about 2d effectors

  • @game_over5271
    @game_over5271 Před 7 lety +72

    I'm desperate for the Blender tutorial series

  • @bimaswaraadam3658
    @bimaswaraadam3658 Před 7 lety +1

    Nice video, thanks!

  • @gabrielmarciu69
    @gabrielmarciu69 Před 7 lety +1

    do you stream while making the game for ludum dare? if not, that would be awesome to see something more "advanced", doesn't even need to be educational. A good example is Quill18's Ludum Dare streams.

  • @NGC7603
    @NGC7603 Před 5 lety +2

    Hi Brackeys, I see video gets cut/edited on the 10:42 or is it? Cuz if you do add bouncy physics material to the platform - sure it's nice, but on second or third bounce the object gets shot into space. I just can't help but wonder if there is any quick workaround for this?

  • @zangbd1124
    @zangbd1124 Před 5 lety

    Awesome thing to learn thnx a lot

  • @hykim6163
    @hykim6163 Před 4 lety

    It's very helpful video. thx :D

  • @scottmcleod6706
    @scottmcleod6706 Před 4 lety +15

    2:19 I know he said toggles, but... Tirkles

  • @okumano1912
    @okumano1912 Před 4 lety

    Really nice Tutorial ! But could you make a video about a combo system.

  • @jimmycat7774
    @jimmycat7774 Před 2 lety +1

    I miss you so much

  • @mohamedrazak6895
    @mohamedrazak6895 Před 7 lety +5

    you are amazing

  • @ngoquangao1803
    @ngoquangao1803 Před 5 lety

    Thank you very much. Video gooodddd!!!!

  • @sleeper5905
    @sleeper5905 Před 3 lety

    Pls. Do unity 2d lessons once again on newer version,i know u have left youtube but if u see this pls make u are the only guy who helped me making games

  • @geisty
    @geisty Před 6 lety

    AND (you're awesome!) how about a tut on rapid prototyping with Gaia and 3DForge :D

  • @DawnosaurDev
    @DawnosaurDev Před 6 lety

    please do a video on 2d lights
    thanks love your videos

  • @samialfarra4275
    @samialfarra4275 Před 7 lety +1

    awesome video nice man

  • @davidbasilefilho
    @davidbasilefilho Před 2 lety +5

    (ignore this comment)
    0:00 Intro
    0:43 Surface Effector
    2:27 Area Effector
    4:24 Point Effector
    7:05 Buoyancy
    8:44 Platform

    • @edupe6185
      @edupe6185 Před 9 měsíci

      No I won’t ignore this is useful 😛

  • @gamenko6387
    @gamenko6387 Před 7 lety +1

    You almost have as much subscribers as the official unity youtube channel !

  • @philiphanhurst2655
    @philiphanhurst2655 Před 6 lety

    Could you do a tutorial on 2D objects affecting 3D objects and vice versa? Such as the flipping mechanic in Super Paper Mario. I know it's not a Unity game, but would there be a way to do something similar in Unity?

  • @TheHoinoel
    @TheHoinoel Před 7 lety

    Hey nice tutorial! Can you make a video on coroutines?

  • @RazielIgor
    @RazielIgor Před 4 lety +1

    Wow, this was quite helpful! Thanks for the tutorial.
    One question, if we want to jump down the "platform effector" with holding down and pressing jump button, how do we do that?

    • @EnderElectrics
      @EnderElectrics Před 4 lety +1

      I'm too late, but watch the blackthornprod tutorial

    • @RazielIgor
      @RazielIgor Před 4 lety +1

      @@EnderElectrics It's never too late for learning new stuff. Thanks for the info, I'll check it out right away 🙂

  • @Setebe
    @Setebe Před 6 lety

    thank you!

  • @lulithagihan7817
    @lulithagihan7817 Před 10 měsíci

    Miss u 😢❤❤❤

  • @user-gr4ec3bm9x
    @user-gr4ec3bm9x Před 7 lety +1

    awesome video:)

  • @PendulumProductions7
    @PendulumProductions7 Před 7 lety

    did you participate in LD38? If so, will we be seeing a video on it?

  • @hayjaydee873
    @hayjaydee873 Před 7 lety

    pls. make a playlist with all of tthese tutorials

  • @DominusZeikyu
    @DominusZeikyu Před 6 lety

    If i ever get the chance to donate to you're patreon, i will do it with every bit of confidence in me!

  • @ThatSquidyBoi
    @ThatSquidyBoi Před 3 lety

    lovely tutorial, but what if I need the conveyor(surface effector 2d) to move vertically?

  • @Ziplock9000
    @Ziplock9000 Před 7 lety

    In the gravity example, when the asteroids collide the motion of them makes others rotate due to friction.. Is that just due to the effects of RigidBody?

  • @chrisharvey6244
    @chrisharvey6244 Před 6 lety

    Mr Brackey Sir, how about a good 2D show on putting together some basic jelly sprites as there seems to very little online? Up for the challenge?

  • @untemi4045
    @untemi4045 Před 3 lety +1

    WOW RULLY GOOD

  • @arjeriaharsh1
    @arjeriaharsh1 Před 4 lety

    Watching this in 2020, at 00:15 "Corona Virus" came to my mind!

  • @atreides1890
    @atreides1890 Před 5 lety

    Can you make a video about 2D joints like this one?

  • @SrRubfish
    @SrRubfish Před 7 lety +1

    I love u

  • @VeryHappyCat
    @VeryHappyCat Před rokem

    Thanks :D

  • @tomasbruna3004
    @tomasbruna3004 Před 5 lety

    Great job ! :-)

  • @v3vlog
    @v3vlog Před 5 lety

    Hi, I just wanted to say that your videos are very inspiring for me..
    Thank You for making these videos..
    I am making a game for android I need little help in my code
    I wanted to know how can I make a object transform its current position to
    other fixed position and get back to current position after certain time..
    Just like a Spring

  • @simocick
    @simocick Před 7 lety

    I was wondering, in most Platformers you'd probably want platforms to behave like the platform effector does; but in most Platformers (and not), in these days, there's the option to go through the platform itself when pressing the down button (like Smash Bros, for example). If I wanted to recreate such behaviour, where would I start? It's probably something that requires a script, but I literally have 0 ideas of where to start. Just curious, if someone knows I'd love to hear what they have to say :>

  • @danuvip
    @danuvip Před 2 lety

    thanks

  • @bin9294
    @bin9294 Před 6 lety

    I have a good question on Surface Effector: How to make the Astroid fall and rotate and slowly reduce speed to 0. Does it needs a script to do it?

    • @gregoryfenn1462
      @gregoryfenn1462 Před 3 lety

      Fall to where? you can add friction (=air-resistance) or things like this to the Rigidbody2D , or yeah just script it

  • @frankservant5754
    @frankservant5754 Před 4 lety

    lifesaver

  • @adobe5359
    @adobe5359 Před 6 lety

    can you do a bolt tutorial?

  • @Owen3H
    @Owen3H Před 7 lety +2

    You should work for Unity ;)

  • @sixto2003
    @sixto2003 Před 5 lety

    Hi, one thing about Bouyancing effector, the density of the gameobject that enter in the Collider is always one, except if the rigidbody2D is AutoMass marked, this is a little detail but is interest to understand the Bouyancing Effector docs.unity3d.com/ScriptReference/Collider2D-density.html

  • @GrimstboritH
    @GrimstboritH Před 7 lety

    Can you do a tutorial about Grids?

  • @Setebe
    @Setebe Před 7 lety +1

    useful!!!

  • @MusicFlowDaily
    @MusicFlowDaily Před 2 lety

    *Hello, thanks for the tutorial! :)*
    How to make the player move forward continuously?
    Without the ability to stop, so that you can only jump (which I have already taken care of by adding bouncing to platforms).
    Thank you!)

    • @yoyo12345
      @yoyo12345 Před 2 lety +1

      Keep adding force in X axis
      Like so
      RB.addForce(new Vector2(blah blah, RB.velocity.y));
      And sorry for being late lol

  • @KaletheQuick
    @KaletheQuick Před 7 lety

    Holy crap I wrote my own whole system to do this shit last Ludum Dare.
    I DIDN'T KNOW >.

  • @bloxyfists3771
    @bloxyfists3771 Před 7 lety +1

    continue game math theory!!

  • @badbuilding395
    @badbuilding395 Před 7 lety

    I'm using the first person character asset, but I have no idea how to convert PC mechanics to mobile, like controls, camera, or any other mechanics, for example R to open inventory, I try to make buttons, use the cross platform asset, but I can't figure it out. Can you make a tutorial or something please?

  • @Paradox_Main_69
    @Paradox_Main_69 Před 2 lety

    awsome

  • @AndryRoby
    @AndryRoby Před 7 lety +1

    Pls can You do tutorial on Clicker game

  • @ewftghjkl
    @ewftghjkl Před 6 lety +1

    you're like the bob ross of unity tutorialists.

  • @ritasharon4061
    @ritasharon4061 Před 5 lety

    can you please do a tutorial to replica piano tiles

  • @airdesign.websolutions

    Can I use a negative point effector to attract particles in a particle system? how??

  • @twisting.nether
    @twisting.nether Před 7 lety

    nice

  • @weckar
    @weckar Před 3 lety

    Is the surface effector relative to the surface normal?

  • @interflashz
    @interflashz Před 7 lety +14

    6:39 - actually all objects have the same attraction to each other no mater there mass for example the moon and the earth but the reason that the moon is rotating around the earth and not the other way a round is inertia.
    *pushes glasses back on nose*

    • @nokutokamomiji
      @nokutokamomiji Před 6 lety +5

      *matter, *their, *around.
      'puts glasses back on their case'

    • @add852
      @add852 Před 5 lety +1

      Project 69: applying force to moon so it stops rotating

    • @wylie2835
      @wylie2835 Před 5 lety +1

      Not true. At all. Break your glasses you aren't the nerd you think you are.

  • @nou1438
    @nou1438 Před 6 lety +1

    could you redo your 2d platformer tutorial?

  • @camango1
    @camango1 Před 3 lety

    nice necklace you are wearing ,what is this

  • @JakeND
    @JakeND Před 3 lety +1

    How would you do all this in a topdown game

  • @EnderElohim
    @EnderElohim Před 7 lety

    is there any think that similar for 3d