Dragging Objects! | Roblox DragDetector tutorial

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

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

  • @Paul1Rb
    @Paul1Rb  Месяц назад +2

    This place, with all of my other DragDetector tutorial places, is available on my Patreon!
    ➤ www.patreon.com/posts/roblox-dragging-112806195

  • @Alpyski
    @Alpyski 11 месяцев назад +106

    I'm actually concerned that this man has access to my Roblox Studio. This is the second time I've been messing around with an idea in Studio and Paul makes a video on the exact topic the next day.

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +40

      I share a brain cell with my viewers

    • @buildermonkey2229
      @buildermonkey2229 11 месяцев назад +9

      ​@@Paul1Rb Everyone that watches your channel (including me) has one collective brain cell and you have access to said brain cell.

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +5

      ​@@buildermonkey2229 It be like that

    • @WibleWobble
      @WibleWobble 11 месяцев назад +1

      he must be in my brain too cause seeing the barrel made me think of the source engine and he mentioned it at the end

    • @junino3386
      @junino3386 11 месяцев назад

      ​​@@Paul1Rbevery viewer has 1 braincell
      I hav 0.5 braincell

  • @LeapInno
    @LeapInno 11 месяцев назад +17

    This is a really cool feature. It adds momentum to positional changing.

  • @byteblox100
    @byteblox100 10 месяцев назад +4

    dragdetector my beloved

  • @mat_randomstuff
    @mat_randomstuff 10 месяцев назад +9

    THIS IS EXACTLY WHAT I NEEDED FOR MY GAME!!! TYSM!!!!!!!

  • @KashTheKingYT
    @KashTheKingYT 11 месяцев назад +4

    oh sick video i didnt even think of using it for this

  • @jacksbatsgaming
    @jacksbatsgaming 10 месяцев назад +1

    Legend

  • @potatogamerz9367
    @potatogamerz9367 11 месяцев назад +9

    could you do a tutorial on OOP? (Object Oriented Programming) + mainmodules all that
    would be rlly helpful! thx

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +1

      Yeah, it's on my to-do list, I have a lot of stuff planned before it tho, so it'll be out sometime in the future

  • @ap_xi
    @ap_xi 7 месяцев назад

    used this to create newtons cradle in roblox studio. im heartbroken, but thanks for the tutorial

  • @OMGREALDUMMYFROMDVN
    @OMGREALDUMMYFROMDVN 11 месяцев назад +2

    dang I am glad this video popped up on my recommendation, it's so useful and does it literally not need any scripting at all? That's cool!

  • @_-_gardevoir_-_
    @_-_gardevoir_-_ 11 месяцев назад

    YES!!! finally. i can make my stupid physics game after years!!!

  • @tay_xfd
    @tay_xfd 11 месяцев назад

    omg this is so great!

  • @Rkyiel
    @Rkyiel 11 месяцев назад +1

    yes

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +1

      Yes

  • @zingxiu6123
    @zingxiu6123 10 месяцев назад

    DAMMM GOD You just saved my life!

  • @sedozxd
    @sedozxd 11 месяцев назад +1

    Bro I love you

    • @djgplays
      @djgplays 11 месяцев назад +1

      This is the only comment he didn't heart 💀

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +1

      ​@@djgplays Because I was asleep 💀

  • @OMGREALDUMMYFROMDVN
    @OMGREALDUMMYFROMDVN 11 месяцев назад +1

    translateviewplane is the best choice probably. Also if only the roblox half-life creators would get this feature.

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      Depends on the usage, but yeah, also would also be great if it followed the player's viewplane instead of registering it's first position

    • @jacksbatsgaming
      @jacksbatsgaming 10 месяцев назад

      Scriptable is probably the best, as you can get much better than translateviewplane with the right skill

  • @Crumblstategov
    @Crumblstategov 5 месяцев назад

    Yes I need this so I can stop people from getting pass a toll for free

  • @kravataf
    @kravataf 11 месяцев назад

    thanks

  • @wan921
    @wan921 11 месяцев назад

    i love this lol

  • @Lil-west-bank
    @Lil-west-bank 11 месяцев назад +1

    It's kinds remind me of old games

    • @banius_
      @banius_ 2 месяца назад

      Half life 2

  • @DinoMations1
    @DinoMations1 11 месяцев назад

    les go!

  • @oofedguest2155
    @oofedguest2155 10 месяцев назад

    Classic Roblox thing

  • @thehatman_official
    @thehatman_official 5 месяцев назад

    unrelated but could you make a video on the groundcontrollers if you haven't already? I CANNOT find anything about them

  • @MrObsidian241
    @MrObsidian241 11 месяцев назад +1

    im gonna make it myself now and then after it works ima watch your vid
    and see what we did different nvm u dont even have to code i just found out lol

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      Yeah, you only need to code if it's Scriptable or if you want to do something with the DragStart, etc. events

  • @Orion_TheProto
    @Orion_TheProto 11 месяцев назад +2

    Please do the door tutorial! i'm currently struggling with making it rotate around a hinge.

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      Yeah, planned on doing it next week

  • @skele3776
    @skele3776 11 месяцев назад +1

    DragDetector was added when? Is this new feature ive never noticed yet?

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +1

      It was in beta since May and I believe it got released live around a week ago

    • @skele3776
      @skele3776 11 месяцев назад

      ​@@Paul1RbOh, alr thx.

  • @Squirrly97
    @Squirrly97 5 месяцев назад

    is there a way to make it so you can drag the objects into the air instead of it being stuck to the floor

    • @Paul1Rb
      @Paul1Rb  5 месяцев назад

      I did an attachment method in this vid:
      ruclips.net/video/7d5XSSZJTQM/видео.htmlsi=jaEPN_CsE7j6TlgH

  • @Official_HolidayAccelerator
    @Official_HolidayAccelerator Месяц назад

    can you PLEASE help me because I added a drag detector to my plank in my new obby, and I cant drag it, it shows up with the mouse thingy but u cannot drag it, or click it. HLEPPPPPP.

    • @maz006real
      @maz006real 9 дней назад

      thats bc theres a weld in it. DELETE IT.

  • @chelsaygrace6012
    @chelsaygrace6012 8 месяцев назад

    why doesn't mine go into the air instead it goes further out far away
    edit: i found out why and it is because i set it to translateplane lol

  • @Campbloxxer
    @Campbloxxer 10 месяцев назад

    basically offbrand physgun

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      It doesn't even function like one

    • @Campbloxxer
      @Campbloxxer 10 месяцев назад

      @@Paul1Rb idk it just reminded me of one

  • @mat_randomstuff
    @mat_randomstuff 10 месяцев назад

    Btw is there any tutorials or videos or anything on how to make it switch between drag styles by pressing a key? if not can you please make one if u can?

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      I can give instructions since a tutorial video on that would be like 2 minutes, so:
      (Assuming DragDetector isn't set to run locally)
      - Get a table with drag style enums (for ref: create.roblox.com/docs/en-us/reference/engine/enums/DragDetectorDragStyle)
      - Put a Remote Event in the Replicated Storage
      - Get a local script and use UserInputService to fire an event from a given key
      - Get a server script with a reference to the event and a drag detector, in the "OnServerEvent" function change the DragStyle to one of the DragDetectorDragStyle enums.

    • @mat_randomstuff
      @mat_randomstuff 10 месяцев назад

      @@Paul1Rbthanks!

    • @mat_randomstuff
      @mat_randomstuff 10 месяцев назад

      @@Paul1Rbone more thing how can i make it so its not heavy (like when picking it up it goes to the cursor and doesnt float below the cursor)

    • @mat_randomstuff
      @mat_randomstuff 10 месяцев назад

      @@Paul1Rbactually wait nvm can u tell me how to make a good dragging system that drags in x,y,z (3d)?

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      @@mat_randomstuff Tbh I don't really know myself, I didn't have the time to sit down to DragDetectors that much yet.

  • @FlammingFood
    @FlammingFood 10 месяцев назад

    how would i make it relevent to the players camera? so i can do something like lumber jack tycoon drag system.

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад +1

      You would have to script your own game logic, I plan on doing a tutorial on that in the future tho

  • @yellowfirx0
    @yellowfirx0 9 месяцев назад

    hey dude i cant use translateviewplane, it doesnt work

  • @irhys_
    @irhys_ 8 месяцев назад

    can you do how to drag players?

  • @Tettzz
    @Tettzz 28 дней назад

    never noticed

  • @TotallyAlexEdits
    @TotallyAlexEdits 10 месяцев назад

    Are you from Poland? Just curious

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      Yes

    • @TotallyAlexEdits
      @TotallyAlexEdits 10 месяцев назад

      Haha I thought you are cuz from your accent, very nice content btw!@@Paul1Rb

  • @totony9493
    @totony9493 11 месяцев назад

    how can you make only be able to drag it from up and down with a mass

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      Set the DragStyle to TranslateLine, Drag Directions Axis to be 1 on the Y, and ResponseStyle to be Physical

  • @TonyMadeira-1804
    @TonyMadeira-1804 10 месяцев назад

    how to make it stay close to the player, im using translate viewplane and im trying to make a object that you can pickup but keeps close to the player positio

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад +1

      You'd have to script your own logic for that

    • @wiwiw_3
      @wiwiw_3 8 месяцев назад

      @@Paul1Rb can you make a tutorial?

  • @vf9r
    @vf9r 10 месяцев назад

    Can you help me? I have the drag detector in a regular part, and it's on TranslateViewPlane but it doesn't move unless its anchored but I want to replicate the effect as if it's unanchored and dangling when dragged around, how can I do this?

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      Seems like it might be a roblox issue, since a lot of people are leaving comments that the drag detectors aren't working.
      Also, try checking if it's like that only in studio, because if it doesn't happen in game, then there might be a problem with a plugin causing it.
      And make a new place and add a drag detector to a part there and see if the same issue occurs

  • @ItzZoriun
    @ItzZoriun 11 месяцев назад +1

    what if i wanted a player to have a specific value in his player folder to be able to drag?

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      What do you mean by a specific value?

    • @ItzZoriun
      @ItzZoriun 11 месяцев назад

      @@Paul1Rbfor example i want a boolvalue in the player to be true if its true it can drag if it isnt then it cant

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      @@ItzZoriun You can get the property changed signal on the bool value and enable the drag detector in the connected function

    • @ItzZoriun
      @ItzZoriun 11 месяцев назад

      @@Paul1Rb I never thought of using a property changed value for this thanks!

  • @dariusxx379
    @dariusxx379 11 месяцев назад

    can you make a tutorial on how to make a script that detects the dragdetector? the documentation is confusing

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      By detect, do you mean whenever it's used or activated?

    • @dariusxx379
      @dariusxx379 11 месяцев назад

      wehn its activated, but i managed to make it work@@Paul1Rb

  • @adrianagonzalez1235
    @adrianagonzalez1235 10 месяцев назад

    Can some one help me because when I put the drag detector in a brick it did not work. And I tested it in roblox studio.

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      If a DragDetector doesn't work in studio but works in-game, it might be caused by a plugin

    • @adrianagonzalez1235
      @adrianagonzalez1235 10 месяцев назад

      what types of plugins?@@Paul1Rb

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      @@adrianagonzalez1235 You'll have to figure that out yourself, since I don't know what plugins you use. But start off from plugins that allow you to select objects in the 3D space.

  • @alexsharky6726
    @alexsharky6726 11 месяцев назад

    How can you make it so it follows the player?? 1:01

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      I haven't figured out a proper way of doing it yet

  • @Kirb_Gaming
    @Kirb_Gaming 10 месяцев назад

    it doesnt work whenever i click it wont move

    • @Paul1Rb
      @Paul1Rb  10 месяцев назад

      Seems like it might be a roblox issue, since a lot of people are leaving comments that the drag detectors aren't working.
      Also, try checking if it's like that only in studio, because if it doesn't happen in game, then there might be a problem with a plugin causing it.
      And make a new place and add a drag detector to a part there and see if the same issue occurs

    • @Kirb_Gaming
      @Kirb_Gaming 3 месяца назад

      @@Paul1Rb ok i deleted some useless plugins and it works! thanks for the advice

  • @user-fRqZBkIo
    @user-fRqZBkIo 11 месяцев назад

    Dev Dudes Added Drag Detector because Devs roblox created drag script

  • @DisafkaChanel
    @DisafkaChanel 11 месяцев назад

    Чел спс за туториал

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад

      Could you write that in English? 👍

    • @ricktherickrolled
      @ricktherickrolled 10 месяцев назад

      @Paul1Rb he said "Dude thank you for the tutorial"

    • @DisafkaChanel
      @DisafkaChanel 10 месяцев назад

      @@ricktherickrolled у него акцент русский пипец какой

    • @ricktherickrolled
      @ricktherickrolled 10 месяцев назад

      @@DisafkaChanelможет он из другой страны просто

  • @cybernerdbaby
    @cybernerdbaby 11 месяцев назад

    Is it heavy performance wise ?

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +1

      Doesn't seem to be, it renders everything in the physics engine and utilizes rays^.

  • @LanTheHam
    @LanTheHam 29 дней назад

    i thought you need like 500 scripts Lol

  • @rzdnx
    @rzdnx 11 месяцев назад

    Does this work on mobile?

    • @Paul1Rb
      @Paul1Rb  11 месяцев назад +1

      Yup, works on every platform