Use AlignPosition to Make Things Follow You

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 97

  • @byteblox100
    @byteblox100  7 місяців тому +12

    All of my courses:
linktr.ee/ByteBlox

    • @ag.hoopin
      @ag.hoopin 6 місяців тому

      u the goat

    • @OatsBryce
      @OatsBryce 6 місяців тому

      more than you thought!!!

  • @thatrobloxtryhard2458
    @thatrobloxtryhard2458 7 місяців тому +24

    Your daily upload schedule and dedication will pay off 100% eventually man. Keep up the great work and tutorials, super useful for brand new devs like me!

  • @zabuxman4631
    @zabuxman4631 7 місяців тому +21

    Your channel shall be revived one day, just keep at it. Thank you for your useful tutorials thus far man.

    • @CrazyDoodEpicLeaves
      @CrazyDoodEpicLeaves 7 місяців тому +2

      tfym revived

    • @zabuxman4631
      @zabuxman4631 7 місяців тому +3

      @@CrazyDoodEpicLeaves I mean that his channel used to do better, he even admitted that. If he just keeps going everything will get better with time.

    • @Bolt-kitten
      @Bolt-kitten 7 місяців тому +1

      His most popular videos are all less than a few months old honestly he should be fine

  • @rato_yes
    @rato_yes 7 місяців тому +3

    youtube just doenst give a shit about creators, you'll rise again do not give up

  • @doggoanim
    @doggoanim 7 місяців тому +3

    damn, this one is really helpful. People say that a lot of your videos are already known by them but not everyone knows. Keep uploading these, any lengths are good

  • @alexiz_bs
    @alexiz_bs 7 місяців тому +58

    Day 2 of asking for http service tutorial

    • @That1_derr
      @That1_derr 7 місяців тому +3

      Keep going bro

    • @AshwinIslam
      @AshwinIslam 7 місяців тому +2

      yes

    • @666thmoab
      @666thmoab 7 місяців тому

      Yo i was here from day 1 lol

    • @ExpoM3rker
      @ExpoM3rker 7 місяців тому +3

      what’s so hard about httpservice?

    • @kekulusskek
      @kekulusskek 7 місяців тому

      +1

  • @TheLazyBeanss
    @TheLazyBeanss 7 місяців тому +7

    From what I've noticed, the funnier thumbnails and more seemingly useful thumbnails get more views

  • @leachear
    @leachear 7 місяців тому +2

    Your channel is helping me a lot in scripting! I almost always find what I need here, keep up the great work man

  • @e.8444
    @e.8444 7 місяців тому +12

    Daddy Byteblox 🗣️ 🗣️ 🔥 🔥

  • @spudphoenix9916
    @spudphoenix9916 6 місяців тому

    I really enjoy the videos, there are many great quality ones. Some are straightforward and simple, but that's because you can't go as in depth with them.

  • @SFSPerseverance69420
    @SFSPerseverance69420 7 місяців тому +5

    MaxForce and MaxVelocity is not the same. If you paid attention in physics class, you will know what Force = mass * acceleration, which means that acceleration = Force / mass. That means MaxForce determines acceleration, meanwhile MaxVelocity is a constraint above which the velocity of the part can never get

    • @MeT2NeeD
      @MeT2NeeD 7 місяців тому +2

      my physics still at sound

    • @ElmoPlayss
      @ElmoPlayss 7 місяців тому

      In Roblox they don't really matter that much and are pretty much the same, that's what he meant not irl stuff

    • @SFSPerseverance69420
      @SFSPerseverance69420 7 місяців тому

      @@ElmoPlayss well since roblox is a physics simulator it does matter very much. For example, 2 parts with the same size and material with one having 10x the density would accelerate 10x slower with the same amount of force, but would have the same max velocity

  • @Sans-fh6tq
    @Sans-fh6tq 7 місяців тому

    Dont stop doing UA-cam man, your videos are always super intresting, and actually teach something...

  • @900n1
    @900n1 7 місяців тому +1

    we gon get a takedown request from preston himself with this one 🔥🔥🔥🔥

  • @Nesquick5678
    @Nesquick5678 7 місяців тому

    I wont let this channel die

  • @Acy-u4v
    @Acy-u4v 6 місяців тому

    Bro please don't give up man
    Your videos are amazing

  • @ForALittleSupport
    @ForALittleSupport 3 дні тому

    Byteblox which is better? Alignposition or Weld? I think they're good for their own purposes. What do you say?

  • @inconsistenttutorialuploader
    @inconsistenttutorialuploader 7 місяців тому +1

    Who is better? ByteBlox or ByteBlox

  • @bruhmaan4388
    @bruhmaan4388 7 місяців тому +1

    Bro you’re underrated

  • @AmAntKing
    @AmAntKing 7 місяців тому +1

    Keep going we love your videos ❤!

  • @katsrn
    @katsrn 2 місяці тому

    Thank you!

  • @reminderIknows
    @reminderIknows 7 місяців тому +2

    3:25
    here you go:
    print(true and "hi" or "no") -> hi
    print(nil or "bruh") -> bruh
    print(false or true) -> true
    print(nil or workspace) -> Workspace
    print(true and nil) -> nil

    • @EpicPico0625
      @EpicPico0625 7 місяців тому +1

      In a nutshell: it's just an oversimplified if statement, essentially:
      Part.Value or false
      If the part has a value or the value is true, then it will return the object or true. Else it will return false.

    • @aloglo22
      @aloglo22 7 місяців тому +1

      whoa thanks

    • @PumpyGT
      @PumpyGT 7 місяців тому

      True *OR* false prints out true because one of them is true
      True *AND* false prints out false because one of them is false, otherwise both of them is not true

    • @reminderIknows
      @reminderIknows 7 місяців тому +1

      @@PumpyGT correct!
      false and "bruh" or "bruhhh" -> bruhhh

  • @theguythatcodes
    @theguythatcodes 7 місяців тому +2

    at 3:46 thats not how your supposed to use waitforchild, because it already exists

    • @ForALittleSupport
      @ForALittleSupport 3 дні тому

      wellll... maybe...? he used characteradded event instead of characterappearanceloaded event, which means the character may have not loaded completely, but idk if roblox prioritizes the head when rendering.

  • @kurizomu9562
    @kurizomu9562 6 місяців тому

    i think i might be doing something wrong but whenever i try to use it the camera switches to the part that i want to follow the player?

  • @finchuhh
    @finchuhh 7 місяців тому +3

    your channel definitely can be revived. my biggest piece of constructive criticism is to properly script your videos' dialogue beforehand (including testing all code). there are points in most videos where you stumble or your code doesnt work as intended and it definitely throws people off. tldr: just research stuff a bit more and come off as confident

  • @groboggan9535
    @groboggan9535 7 місяців тому

    Now I can make homing projectiles ❤❤❤

  • @TheProgammerGamer
    @TheProgammerGamer 7 місяців тому

    Just to point out you don’t need to use WaitForChild twice while getting an instance i.e. workspace:WaitForChild(“Baseplate”):WaitForChild(“Texture”) is unnecessary and should be written as workspace:WaitForChild(“Baseplate”).Texture

    • @human721
      @human721 6 місяців тому

      You don't even need to wait for Baseplate it is already there

    • @TheProgammerGamer
      @TheProgammerGamer 6 місяців тому

      @@human721 Yeah that’s true too

  • @launchingMiau
    @launchingMiau 7 місяців тому +1

    I wonder if I can use align position for camera to get a 3rd persons view like in fps games

    • @byteblox100
      @byteblox100  7 місяців тому +2

      You probably could. Just create an attachment that will align to the player, and then update the cameras position to that attachments position

  • @code_9_380
    @code_9_380 Місяць тому

    I followed the script step by step and the part still is not moving at 8:32 currently at a roadblock and have swapped the attachment 1 and 0 in the script as well
    I have the script in Server script service, i have the part with an attachment and i deleted the old align position so a new one would be generated and i have triple check for typos and other errors however the part does not follow my character when i hit play am i missing anything if so please anyone offer a suggestion i would greatly appreciate it

  • @thisisbup
    @thisisbup 7 місяців тому

    This could be used to add phantom weight on a vr game!

  • @epicrobloxgamer3366
    @epicrobloxgamer3366 7 місяців тому

    You shouldn't use waitforchild on server right? Instead of it just do the path directly. Since u already waited for the character to add

  • @Gio-yr6mc
    @Gio-yr6mc 6 місяців тому

    used this for my experience system made little exp pips that chase the player down so they can keep moving :D

  • @AlexisAutotte
    @AlexisAutotte 7 місяців тому

    Dude I really need this for my game continue the great work man !!!

  • @CurtisCanby
    @CurtisCanby 7 місяців тому +3

    Looking at your views, seems like there has been a small downward trend the last month. The “Beginner guides” seems to catalyst that.
    Your videos that are kinda absurd seem to do well. “Guide to loving a woman” is your most recent very popular vid. Seems like joke videos or concept explorations aimed at more experienced devs do the best. Appealing to beginners or covering simple concepts seems to do the worst.
    Personally I like your videos covering things I haven’t seen before. Namely “Trails are insanely customizable” was really fun to watch and made me excited to try that myself

  • @stromchaser32
    @stromchaser32 7 місяців тому +2

    i love the nutsack gif in your discord server

  • @bindat9872
    @bindat9872 7 місяців тому +1

    Can you make the most important service which is DATA STORE SERVICE

    • @theguythatcodes
      @theguythatcodes 7 місяців тому +1

      the most important service is workspace technically because almost all games use it

    • @bindat9872
      @bindat9872 7 місяців тому

      @@theguythatcodes 🤯🤯🤯

    • @zeplexgamingyt9639
      @zeplexgamingyt9639 7 місяців тому

      datastore service is very simple though

  • @PokimaneTierThreeSub
    @PokimaneTierThreeSub 7 місяців тому

    You need to be putting subway surfers in the video for that viewer retention

  • @8tan200
    @8tan200 3 місяці тому

    bros dementia is kicking in

  • @memezforbeanz3109
    @memezforbeanz3109 7 місяців тому +2

    Nah, I'll use lerp. Way more use cases and doesn't rely on Roblox's wonky physics.

    • @tipeanimates837
      @tipeanimates837 7 місяців тому +2

      Lerp needing a .Stepped function which literally takes more resources than this

    • @memezforbeanz3109
      @memezforbeanz3109 7 місяців тому

      @tipeanimates837 I never said that it took fewer resources, only that it had more use cases. I've had bad experiences using Align position simply due to the way it accounts for mass. All I'm saying is that interpolation has served me far better than these new body movers.

    • @memezforbeanz3109
      @memezforbeanz3109 7 місяців тому +1

      @tipeanimates837 I never said it took less resources, only that it had more use cases. If you don't like raw math then you could just use tween service to accomplish the same goal. I personally don't use body movers anymore because of their inconsistencies.

    • @windy6191
      @windy6191 7 місяців тому

      @@tipeanimates837not more resources

  • @vermamaerodriguez96
    @vermamaerodriguez96 7 місяців тому +1

    Yes

  • @vieHxti
    @vieHxti 7 місяців тому +1

    nice tutorial

  • @daxcisionxd
    @daxcisionxd 7 місяців тому +1

    I'd say just structure your vids well, stay towards the topic

  • @reee638
    @reee638 7 місяців тому +1

    Bro add more projects to your course

  • @the_dawgg
    @the_dawgg 7 місяців тому +3

    i can use this for some goofy shit yay

  • @cainegizzardfanny
    @cainegizzardfanny 7 місяців тому +1

    Urrgghhh…. Kids these days using their dang align positions, back in my day we only had body positions!

    • @Triploonic
      @Triploonic 7 місяців тому

      snap, body positions, body velocity
      motor6D, align position/alignrotation, linear velocity

  • @legally4946
    @legally4946 4 місяці тому

    stop using so much waitforchild i beg of u man 😭 great tutorials tho

  • @AlexisAutotte
    @AlexisAutotte 6 місяців тому

    Actually you could achieve the same thing with a weld only and you won't have the latency problem don't know the usefulness of AlignPosition

  • @sadge6430
    @sadge6430 7 місяців тому

    Bvr

  • @VerySourTaste
    @VerySourTaste 7 місяців тому

    4:00 I have a question! Is there a difference between using the WaitForChild stuff instead of just doing game.workspace.part.attachment? I want to know if there's a reason for not just doing it this way. If there isn't a reason that's fine! I'm just curious

    • @byteblox100
      @byteblox100  7 місяців тому +1

      You don’t have to use it. I just use it as a habit because sometimes my computer is slow and takes time to load items (and if I don’t use waitforchild it could give me an error trying to use an item that hasn’t loaded in yet)

    • @VerySourTaste
      @VerySourTaste 7 місяців тому

      @@byteblox100
      That's very useful to know! My computer can be slow too at times so now I think I know why sometimes my own scripts work perfectly and sometimes they dont. Thanks!

  • @Jaypiasco
    @Jaypiasco 7 місяців тому

    organize your vids man

  • @Him_Zoro
    @Him_Zoro 7 місяців тому +1

    pp

  • @sadge6430
    @sadge6430 7 місяців тому

    Ot4

  • @otterryy
    @otterryy 7 місяців тому +2

    i stg u can do these tutorials in 5 mins stop making it 20 mins

    • @byteblox100
      @byteblox100  7 місяців тому +7

      Next vid will be 40 minutes, watch me

    • @rezarg
      @rezarg 7 місяців тому +4

      fr maybe that's why they're dying. I watch these to learn interesting things but, it's usually just him learning things I already knew.

    • @otterryy
      @otterryy 7 місяців тому +2

      unsubscribing @@byteblox100

    • @PumpyGT
      @PumpyGT 7 місяців тому

      Honestly, if you don't like it then just don't watch it

    • @tipeanimates837
      @tipeanimates837 7 місяців тому

      The reason longer videos are needed is because how the hell are you understanding anything in 5 mins
      Bro has no attention span