2D EFFECTORS in Unity - Tutorial

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 234

  • @eruaiokoyomoh3177
    @eruaiokoyomoh3177 5 лет назад +312

    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 4 года назад

      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 4 года назад +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 4 года назад +1

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

    • @RohanNarahari
      @RohanNarahari 4 года назад +2

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

    • @RaidenHeaven
      @RaidenHeaven 4 года назад

      @@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 3 года назад +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 :)

  • @electromorphous
    @electromorphous 5 лет назад +40

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

  • @DouglasdAquino
    @DouglasdAquino 7 лет назад +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

    • @Brackeys
      @Brackeys  7 лет назад +14

      You're welcome :D

  • @cheeseriners
    @cheeseriners 7 лет назад +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.

  • @turkym7md5
    @turkym7md5 6 лет назад +24

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

  • @morphman86
    @morphman86 5 лет назад +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.

  • @sicariusdracus
    @sicariusdracus 6 лет назад

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

  • @Treetopper911
    @Treetopper911 3 года назад

    Miss you Brackeys!

  • @johndm1968
    @johndm1968 7 лет назад +6

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

  • @alperalkan2000
    @alperalkan2000 7 лет назад +10

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

    • @Brackeys
      @Brackeys  7 лет назад +3

      I'm really glad you like them! :D

  • @armo0375
    @armo0375 7 лет назад +7

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

  • @jonreed5431
    @jonreed5431 7 лет назад +3

    Really incredible tutorial. Extremely well done and informative.

  • @brandonmunford4375
    @brandonmunford4375 7 лет назад +10

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

  • @Dyzinel
    @Dyzinel 5 лет назад

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

  • @dynamichunter843
    @dynamichunter843 7 лет назад +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 :)

  • @theradioactivemonkey
    @theradioactivemonkey 7 лет назад +2

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

  • @davidbasilefilho
    @davidbasilefilho 3 года назад +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

  • @Jobensi_vlog
    @Jobensi_vlog 5 лет назад +5

    This video was magnificent! Great time saver, thanks!

  • @Oxmond
    @Oxmond 4 года назад

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

  • @MaximumSpice
    @MaximumSpice 4 года назад

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

  • @lennihuopa
    @lennihuopa 3 года назад

    OH IM SO HAPPY I WATCHED THIS I NEEDED THIS

  • @TheGamingzombie1
    @TheGamingzombie1 7 лет назад +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 7 лет назад

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

  • @NGC7603
    @NGC7603 5 лет назад +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?

  • @matheusmachado5038
    @matheusmachado5038 7 лет назад +5

    Perfect tutorial as always

  • @game_over5271
    @game_over5271 7 лет назад +72

    I'm desperate for the Blender tutorial series

  • @Youssef_Ben_Yedder
    @Youssef_Ben_Yedder 3 года назад

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

  • @toreole2993
    @toreole2993 7 лет назад +4

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

  • @sleeper5905
    @sleeper5905 3 года назад

    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

  • @jimmycat7774
    @jimmycat7774 3 года назад +1

    I miss you so much

  • @thijshoogenbosch5151
    @thijshoogenbosch5151 7 лет назад +3

    Thanks for all your videos!

    • @Brackeys
      @Brackeys  7 лет назад

      You're welcome! :)

  • @aneesh1283
    @aneesh1283 4 года назад +1

    your videos help a lot

  • @gamenko6387
    @gamenko6387 7 лет назад +1

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

  • @scottmcleod6706
    @scottmcleod6706 4 года назад +15

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

  • @crazyfox55
    @crazyfox55 7 лет назад +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?

  • @bacongamer889
    @bacongamer889 7 лет назад

    Awesome video! Didn't even know this existed!

  • @mobilegameexplorer5145
    @mobilegameexplorer5145 6 лет назад +3

    you are a life saviour, thank you very much

  • @lulithagihan7817
    @lulithagihan7817 Год назад

    Miss u 😢❤❤❤

  • @seamew2108
    @seamew2108 6 лет назад

    Wow, very helpful, easy and fun!

  • @riseoftech4k332
    @riseoftech4k332 7 лет назад

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

  • @iktech9507
    @iktech9507 7 лет назад

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

  • @Totatix83
    @Totatix83 7 лет назад

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

  • @jmirandaJorge
    @jmirandaJorge 4 года назад

    Perfect explanation! Tks!

  • @bimaswaraadam3658
    @bimaswaraadam3658 7 лет назад +1

    Nice video, thanks!

  • @haohuoya2871
    @haohuoya2871 7 лет назад

    amazing video about 2d effectors

  • @davidwoek3041
    @davidwoek3041 7 лет назад

    Thank you, great tutorial!

  • @rezwansaki
    @rezwansaki 6 лет назад

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

  • @ThatSquidyBoi
    @ThatSquidyBoi 3 года назад

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

  • @samialfarra4275
    @samialfarra4275 7 лет назад +1

    awesome video nice man

  • @JakeND
    @JakeND 4 года назад +1

    How would you do all this in a topdown game

  • @steffie8419
    @steffie8419 7 лет назад +1

    are those m&ms at 5:44?

  • @interflashz
    @interflashz 7 лет назад +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 6 лет назад +5

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

    • @add852
      @add852 6 лет назад +1

      Project 69: applying force to moon so it stops rotating

    • @wylie2835
      @wylie2835 6 лет назад +1

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

  • @badbuilding395
    @badbuilding395 7 лет назад

    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?

  • @Ziplock9000
    @Ziplock9000 7 лет назад

    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?

  • @RazielIgor
    @RazielIgor 5 лет назад +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 4 года назад +1

      I'm too late, but watch the blackthornprod tutorial

    • @RazielIgor
      @RazielIgor 4 года назад +1

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

  • @mintydog06
    @mintydog06 5 лет назад

    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?

  • @wwjdd_youtube
    @wwjdd_youtube 7 лет назад +1

    awesome video:)

  • @mohamedrazak6895
    @mohamedrazak6895 7 лет назад +5

    you are amazing

  • @DawnosaurDev
    @DawnosaurDev 7 лет назад

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

  • @airdesign.websolutions
    @airdesign.websolutions 4 года назад

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

  • @untemi4045
    @untemi4045 4 года назад +1

    WOW RULLY GOOD

  • @atreides1890
    @atreides1890 6 лет назад

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

  • @gabrielmarciu69
    @gabrielmarciu69 7 лет назад +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.

  • @TopBagon
    @TopBagon 5 лет назад +3

    *Timestamps*
    ----------------------
    *SURFACE* - 00:43
    *AREA* - 02:27
    *POINT* - 04:24
    *BUOYANY* - 07:05
    *PLATFORM* - 08:44

  • @weckar
    @weckar 4 года назад

    Is the surface effector relative to the surface normal?

  • @okumano1912
    @okumano1912 5 лет назад

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

  • @GameDevForLife
    @GameDevForLife 5 лет назад

    Is unity have the glue behavior and thanks

  • @GrimstboritH
    @GrimstboritH 7 лет назад

    Can you do a tutorial about Grids?

  • @tudordumitrescu8707
    @tudordumitrescu8707 7 лет назад

    Can someone tell me what that On Trigger option on the collider does? I really can't get my head around it.

  • @zangbd1124
    @zangbd1124 5 лет назад

    Awesome thing to learn thnx a lot

  • @hayjaydee873
    @hayjaydee873 7 лет назад

    pls. make a playlist with all of tthese tutorials

  • @adobe5359
    @adobe5359 7 лет назад

    can you do a bolt tutorial?

  • @arjeriaharsh1
    @arjeriaharsh1 4 года назад

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

  • @TheHoinoel
    @TheHoinoel 7 лет назад

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

  • @geisty
    @geisty 7 лет назад

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

  • @philiphanhurst2655
    @philiphanhurst2655 7 лет назад

    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?

  • @bin9294
    @bin9294 7 лет назад

    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 4 года назад

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

  • @EnderElohim
    @EnderElohim 7 лет назад

    is there any think that similar for 3d

  • @hykim6163
    @hykim6163 5 лет назад

    It's very helpful video. thx :D

  • @frankservant5754
    @frankservant5754 5 лет назад

    lifesaver

  • @chrisharvey6244
    @chrisharvey6244 6 лет назад

    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?

  • @ewftghjkl
    @ewftghjkl 7 лет назад +1

    you're like the bob ross of unity tutorialists.

  • @PendulumProductions7
    @PendulumProductions7 7 лет назад

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

  • @Setebe
    @Setebe 7 лет назад

    thank you!

  • @ngoquangao1803
    @ngoquangao1803 5 лет назад

    Thank you very much. Video gooodddd!!!!

  • @ritasharon4061
    @ritasharon4061 6 лет назад

    can you please do a tutorial to replica piano tiles

  • @sixto2003
    @sixto2003 6 лет назад

    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

  • @AndryRoby
    @AndryRoby 7 лет назад +1

    Pls can You do tutorial on Clicker game

  • @mohitistoocool
    @mohitistoocool 7 лет назад

    hey can someoone help me i am stuck and this is the error animator is not playing a playable

  • @MusicFlowDaily
    @MusicFlowDaily 3 года назад

    *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 3 года назад +1

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

  • @umid3339
    @umid3339 7 лет назад

    I have a Problem with unity, when I try to drag a picture from my Hirachy my mouse arrow blinks wheird and i cant drag it anywhere

  • @DominusZeikyu
    @DominusZeikyu 6 лет назад

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

  • @davidson2727what
    @davidson2727what 6 лет назад

    I have a custom character controller and have checked is kinematic. Now the 2d effector does not work. Anyone know how to fix that?

  • @tomasbruna3004
    @tomasbruna3004 5 лет назад

    Great job ! :-)

  • @Owen3H
    @Owen3H 7 лет назад +2

    You should work for Unity ;)

  • @simocick
    @simocick 7 лет назад

    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 :>

  • @camango1
    @camango1 4 года назад

    nice necklace you are wearing ,what is this

  • @nou1438
    @nou1438 7 лет назад +1

    could you redo your 2d platformer tutorial?

  • @Setebe
    @Setebe 7 лет назад +1

    useful!!!

  • @ahmedthebest
    @ahmedthebest 7 лет назад

    can you crait more life stream it is very cool and intresting

    • @Brackeys
      @Brackeys  7 лет назад +1

      Hi there, I livestream once every month :)

    • @ahmedthebest
      @ahmedthebest 7 лет назад

      i know but you the best one make cool tetorials in unity

    • @ahmedthebest
      @ahmedthebest 7 лет назад

      Thank you your osam