Why You Should Use CFrames

Тәжірибелік нұсқаулар және стиль

50% OFF COUPON WITH "DOUBLEBYTE" (ends in 3 days):
linktr.ee/ByteBlox
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/ByteBlox
You’ll also get 20% off an annual premium subscription!
discord: / discord
wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)

Пікірлер: 98

  • @byteblox100
    @byteblox1004 ай бұрын

    Get all of my knowledge in one package:
linktr.ee/ByteBlox

  • @Wonsole

    @Wonsole

    4 ай бұрын

    nga is this inflation why are you rising it to $84.99???

  • @byteblox100

    @byteblox100

    4 ай бұрын

    @@Wonsole i didnt change the price, udemy is having issues right now lmao

  • @1DiamondKing

    @1DiamondKing

    4 ай бұрын

    ​@byteblox100 MAKE A LOOPS TUTORIAL, I HAVE NO IDEA WHAT THEY ARE

  • @eycho8099

    @eycho8099

    4 ай бұрын

    @@byteblox100 what is the normal price

  • @byteblox100

    @byteblox100

    4 ай бұрын

    Like 40 bucks I think

  • @GSFigure
    @GSFigure4 ай бұрын

    Big props to the people who made CFrames a thing. Single-handedly saved my life

  • @PranavHuman

    @PranavHuman

    4 ай бұрын

    Without cframes I would have quit a long time ago

  • @AyoNoobieRoblox

    @AyoNoobieRoblox

    4 ай бұрын

    lmao me too@@PranavHuman

  • @TULEYDIGITAL

    @TULEYDIGITAL

    3 ай бұрын

    CFrames are x, y, z, and three xyz unit vectors to be specific about orientation in 3D space. They are pretty much a matrix calculator. You can probably learn the fundamentals in Linear Algebra (usually after Calculus 2 or 3 in college).

  • @yarik_superpro
    @yarik_superpro4 ай бұрын

    in short: when you using vectors you making a lot of useless calculations to engine,while cframe straight up execute it into matrix

  • @TheVortexDev
    @TheVortexDev2 ай бұрын

    i love these videos, they help me focus while im coding/scripting ❤

  • @giorgiotr
    @giorgiotr4 ай бұрын

    hi! I think you should talk about run context for scripts! you can turn scripts in the workspace to local scripts and that's very useful! love ur vids!

  • @PetiZS
    @PetiZS4 ай бұрын

    Thank you. It helped really much!

  • @TheEssential13
    @TheEssential133 ай бұрын

    Dude thank you so much I finally understand what CFrame is!

  • @Hazuzis
    @Hazuzis3 ай бұрын

    Dude, u just appeared in my life so late, I finally understand CFrame after 2 years.

  • @somenerd8139
    @somenerd81394 ай бұрын

    Setting position still has its uses though, of course. If you don’t want to make the part’s rotation change, you can set Position instead of CFrame.

  • @byteblox100

    @byteblox100

    4 ай бұрын

    Absolutely. But most of the time it’s just better to use CFrame as it accounts for literally every aspect of location

  • @wedoalittletrolling723

    @wedoalittletrolling723

    4 ай бұрын

    @@byteblox100 also how about sending cframes trough remote event? especially unreliable ones which have 900 byte limit i think, so do you just not send it at all? or send only 1 value of a cframe and construct it on the receiver's end?

  • @byteblox100

    @byteblox100

    4 ай бұрын

    You’re able to just send a CFrame over, it’s just another value like a string or a number

  • @wedoalittletrolling723

    @wedoalittletrolling723

    4 ай бұрын

    @@byteblox100 I know i was talking about how UnreliableRemoteEvents would pass a cframe over the network, considering it's 900 limit which i assume a single cframe exceeds that

  • @whupass

    @whupass

    4 ай бұрын

    @@wedoalittletrolling723a cframe is pretty much just a matrix containing 9 numbers. Pretty sure they use double-precision floating point format which is 64 bit. 64*9 is 576, so a single cframe should pass under the data limit.

  • @achicken3120
    @achicken31204 ай бұрын

    I love ur videos im learning so much

  • @EpicPico0625
    @EpicPico06254 ай бұрын

    Cframe = CoordinateFrame

  • @FriedMonkey362
    @FriedMonkey3624 ай бұрын

    Even 2x speed isn't enough for this dude

  • @vieHxti
    @vieHxti4 ай бұрын

    ur vids are just next lvl

  • @suiza8819
    @suiza88194 ай бұрын

    Seriously great tutorials, the only person I've ever seen explain things in the exact way I need them explained lol If it's not too much trouble a Raycast tutorial would be awesome :D (Nah but seriously tho you're one of the only people I've subscribed to recently and the only person who's videos I watch religiously, keep up the great work!)

  • @byteblox100

    @byteblox100

    4 ай бұрын

    Thanks bro, I did a raycast tutorial a while back lol

  • @Robloxer113
    @Robloxer1132 ай бұрын

    Extra info: The position has some use as well, for example when you need to teleport a part to some position but don't need it to rotate. The CFrame can also bring character with his rootPart. CFrame stands for "Coordinate Frame". CFrame can have more types in .new function, more in documentation of roblox.

  • @rxdact
    @rxdact4 ай бұрын

    woohooo! byteblox!!! cframe!!!! 😁😁😁

  • @Axcyantol
    @Axcyantol4 ай бұрын

    pro tip: use transcript to quickly get info and get to parts

  • @holaholahee
    @holaholahee3 ай бұрын

    I remember when i first started learning and hating on cframe lol, now its the only thing i use and cant even remember the last time i used position/orientation

  • @EATB_Gamer
    @EATB_Gamer2 ай бұрын

    oooh, this maybe explain why my try of door didnt worked, thx bro

  • @jkkienzle1356
    @jkkienzle13564 ай бұрын

    you should do a tutorial about aerodynamics

  • @UltraLeDEV
    @UltraLeDEV4 ай бұрын

    very kewl!

  • @EpicPico0625
    @EpicPico06254 ай бұрын

    double upload? gamer

  • @alex342gwsturk8
    @alex342gwsturk84 ай бұрын

    i love cframes but oh my god the motor6d cframe for the R6 rig is disastrous, what the hell were they thinking when they made the R6 rig????

  • @TheMrShowerMan
    @TheMrShowerMan3 ай бұрын

    One of the most powerful abilities of CFrames is ability to offset CFrames from Other CFrames.

  • @sympleton7439
    @sympleton74394 ай бұрын

    Hey ByteBlox, I know you've already made a video on ModuleScripts explaining how they work, but I still don't get when I'm supposed to use them over regular server scripts. Can you make a video on organizing/optimizing your games?

  • @techderv3031

    @techderv3031

    4 ай бұрын

    normally I use modules just for organization, or even add modular functions, as the name suggest, so i dont fill up my main script and instead have multiple "work spaces" that each module script have, each one with their own function, having better organization and more efficient

  • @sympleton7439

    @sympleton7439

    4 ай бұрын

    @@techderv3031 I wish there were videos on optimizing your games out there so I could learn the do's and dont's

  • @byteblox100

    @byteblox100

    4 ай бұрын

    Use them when you need functions stored in one spot. Let’s say you have a fighting game, and you have functions for abilities. Making a module for those functions would be smart because now you can access these functions from any script

  • @cactisiusninja

    @cactisiusninja

    4 ай бұрын

    Btw what situation would you use Modules over Bindables?​@@byteblox100

  • @sympleton7439

    @sympleton7439

    4 ай бұрын

    @byteblox100 I still don't understand why I'd need to access such functions from other scripts, or what having a function stored in one spot could do for me.

  • @Azutreo
    @Azutreo4 ай бұрын

    This is unrelated to the video's purpose itself, but I do want to state that it might be better to teach using modern methods, such as using `task.wait(3)` instead of using `wait(3)` as wait() is deprecated, for good reason.

  • @byteblox100

    @byteblox100

    4 ай бұрын

    I will hate on task.wait() until I die

  • @boi8756

    @boi8756

    4 ай бұрын

    @@byteblox100 we cant be friends ever

  • @wedoalittletrolling723

    @wedoalittletrolling723

    4 ай бұрын

    @@byteblox100 how about global overwrite? like wait = task.wait wait(2) -- will use task library instead of built-in wait but you can still write it as if it's wait()

  • @twomaddev

    @twomaddev

    4 ай бұрын

    @@byteblox100 Why is this? How could you possibly even call yourself a teacher if you are using a depreacted method? Wait() is deprecated for a reason. Wait() will literally throttle your script until the elapsed time has passed, and wait() is not even accurate when frames matter (as it updates on 30 fps interval vs task.wait which uses 60 fps)

  • @byteblox100

    @byteblox100

    4 ай бұрын

    @@twomaddev yeah but thats nerd stuff

  • @WarLapse
    @WarLapse4 ай бұрын

    Can you make explanation/tutorial on copylocking, pls?

  • @Zero-pc5cj
    @Zero-pc5cj4 ай бұрын

    If use Cframe for moving object like moving plateform do player fall off plateform? Player not move with plateform like issue when stand on plateform

  • @visualkitten4048

    @visualkitten4048

    3 ай бұрын

    you need to use platformstand or some property like that on the player character

  • @gaidqr
    @gaidqr4 ай бұрын

    Fianlly... byteblox cframe tutoriall

  • @Create_new__handle
    @Create_new__handle4 ай бұрын

    How is it that always when i say to myself i need to learn this the next day you upload a video about that thing.

  • @crimsonisms
    @crimsonisms4 ай бұрын

    this video is why i use cframes

  • @DNSzzz
    @DNSzzz4 ай бұрын

    The thumbnail broke me 💀

  • @1x5x0x7x3
    @1x5x0x7x34 ай бұрын

    i always use cframes already because i'm traumatized of using positions on characters...

  • @user-ko1vx3zn6s
    @user-ko1vx3zn6s4 ай бұрын

    Pls make a vid on how to animate acs 2.0.1

  • @literally_bob
    @literally_bob4 ай бұрын

    Maybe make the goto position invisible

  • @AzureSpike
    @AzureSpikeАй бұрын

    CFrame stands for Coordinates Frame

  • @MarsterMikkel
    @MarsterMikkel3 ай бұрын

    roblox should add quaternions

  • @_beyi
    @_beyi4 ай бұрын

    try The CFrame Class's LookVector Property local part = workspace.Part local endPart = workspace.endPart part.CFrame = CFrame.new(part.CFrame.p, endPart.CFrame.p) -- Point part towards endPart while part.CFrame ~= endPart.CFrame do part.CFrame = part.CFrame * endPart.CFrame.LookVector -- Move part forwards based on where it is facing wait(0.06) end

  • @tower9602
    @tower96023 ай бұрын

    why not to use position and orientation? Simply because setting cframes is quicker than position or/and orientation

  • @triploonic4042

    @triploonic4042

    3 ай бұрын

    And also it doesn't have to make a bunch of calculations when you are using vector3

  • @wosi-old127
    @wosi-old1274 ай бұрын

    brother make the ui look better👍🏼 will def help

  • @truarrogancex
    @truarrogancex4 ай бұрын

    CFrame is a Coordinate-frame

  • @imoctavs
    @imoctavs4 ай бұрын

    help the relationship video didnt tell me how to break up and now im stuck with someone named Rigette

  • @rschoolu

    @rschoolu

    4 ай бұрын

    He's gonna get to it just wait

  • @Sokker_
    @Sokker_3 ай бұрын

    hot

  • @bradleywhais7779
    @bradleywhais77794 ай бұрын

    Hey I dont think your emails are working. Last one I got was Jan 23.

  • @DiffGameContent
    @DiffGameContent4 ай бұрын

    Bro Tween with Frames are much easier

  • @betapacket
    @betapacket4 ай бұрын

    CFrame is literally just Position and Rotation combined.

  • @DagooseDev

    @DagooseDev

    2 ай бұрын

    It has nice uses like offset and pivotto

  • @dc4stuff
    @dc4stuff4 ай бұрын

    c fraune 2 haurd i want yuse positin isead

  • @vrfrenzy8451
    @vrfrenzy84514 ай бұрын

    ye

  • @dylan2-ud9yd
    @dylan2-ud9yd4 ай бұрын

    wait for child in server scripts? 😂

  • @thejaidenshields
    @thejaidenshields4 ай бұрын

    2nd day of asking how to access the starter player's humanoid using a serverscript

  • @byteblox100

    @byteblox100

    4 ай бұрын

    plr.Character.Humanoid

  • @fitmotheyap
    @fitmotheyap4 ай бұрын

    What is that thumbnail😭 Poor no cframe

  • @RodyTheRoad
    @RodyTheRoad4 ай бұрын

    5:25 Interesting, I thought that to account for orientation you're supposed to do CFrame.new(X,Y,Z) * CFrame.Angles(X,Y,Z)? This is the first time I've seen this approach

  • @dany_

    @dany_

    3 ай бұрын

    He used the deprecated constructor, you are supposed to use Angles.

Келесі