Advanced Roblox Scripting Tutorial #7 - CFrame (Beginner to Pro 2019)

  Рет қаралды 184,408

TheDevKing

TheDevKing

Күн бұрын

Advanced Roblox Scripting Tutorial #7 - CFrame (Beginner to Pro 2019)
Hey guys! welcome back to another roblox scripting tutorial in todays video I am going to be teaching you about CFrame and what it is and how to use cframe. It's a bit confusing so I will have a few resources linked below. Anyways leave any questions you may have in the comments below or in my discord. Enjoy! :D
CFrame Article (By Roblox):
developer.roblox.com/en-us/ar...
-Join my Discord Server to learn and meet other developers!-
/ discord
-- Follow me on twitter! (my name is tapwater because thats my main channel): / realtapwater
-- Follow me on Instagram! (my name is tapwater because of my main channel): / realtapwater
Link to Beginner's Tutorial Series:
• Beginner's Roblox Scri...
--What is this series about and who is it for?
So this series is meant for people who really want to learn exactly how to script, if that is you then I promise by the time you watch this whole series you will know exactly how to script on roblox. Anyways be sure to subscribe to see whenever I release a new tutorial and I will see you guys in the next one. Peace!

Пікірлер: 621
@TheDevKing
@TheDevKing 4 жыл бұрын
Hey guys! If you have any questions or just want to meet / connect with me and other roblox devs. Be sure to join the discord server! discord.gg/FKcSyRh
@anthony4564
@anthony4564 4 жыл бұрын
btw, it's not 10 or 11, it's 12
@anthony4564
@anthony4564 4 жыл бұрын
TheDevKing Also, PLEASE PLEASE PLEASE DO A TUTORIAL ON THE WEIRD, TOO COMPLICATED, MATRIX PART OF CFRAME.
@michaeldavis6993
@michaeldavis6993 4 жыл бұрын
it wasn't too confusing for me cuz I already read up on cframe prior to this but I admit I am still curious and confused as to what the other 4values mean
@michaeldavis6993
@michaeldavis6993 4 жыл бұрын
I thought the first thing you would mention is moving models with the :moveTo function or the :setPrimaryPartCFrame () functions but it sounds like your saving it for a dif vid
@saidabdiche5890
@saidabdiche5890 4 жыл бұрын
i was trying to hack now i am creating an obby
@peerapatlerdlatthaporn1567
@peerapatlerdlatthaporn1567 4 жыл бұрын
TheDevKing in the thumbnail: It's just CFrame, don't be scared! TheDevKing in the start of the video: CFrame, you got this! TheDevKing at the end of the video: And this is all you need to know about quantum physics. Next tutorial will be about how to make a time machine! P.S. Jk, tutorial was very easy to understand! Thank you, I really got confused about CFrame before this, but now, I understand it!
@levisip1874
@levisip1874 3 жыл бұрын
Lel
@lunyxappocalypse7071
@lunyxappocalypse7071 3 жыл бұрын
I am more frustrated then anything.
@MemeDealer-ls6pf
@MemeDealer-ls6pf 2 жыл бұрын
Such a coincidence I was learning quantum physics before reading the comment.
@peerapatlerdlatthaporn1567
@peerapatlerdlatthaporn1567 2 жыл бұрын
@@MemeDealer-ls6pf Was bound to happen. Bunch of people read this comment so the fact that one year later someone would be reading about quantum physics isn’t that surprising really.
@developernick5535
@developernick5535 2 жыл бұрын
@@lunyxappocalypse7071 SAME I AM SO CONFUSED IMMA SKIP AND COME TO THIS LATER ON!
@darkmetro8882
@darkmetro8882 3 жыл бұрын
"theres 10 values" "oh wait theres 11" "im soryy guys theres 10 haha" My guy there's 12
@chrismelon8192
@chrismelon8192 3 жыл бұрын
Theres 13
@akshitagoel6762
@akshitagoel6762 3 жыл бұрын
@@chrismelon8192 no theres 12 lol
@frannncoco
@frannncoco 3 жыл бұрын
@@akshitagoel6762 No, there’s 9
@akshitagoel6762
@akshitagoel6762 3 жыл бұрын
@@frannncoco -31.5 5 -20 1 0 0 0 1 0 0 0 1 thats 12 numbers
@robloxegy2565
@robloxegy2565 3 жыл бұрын
Y’all idiots peanut sized brains
@randomperson9997
@randomperson9997 3 жыл бұрын
"don't be scared" "im confused" "you just have to put it there idk" *internal scared screeching*
@khy8
@khy8 4 жыл бұрын
Wasn't confusing at all pretty easy to understand tbh
@TheDevKing
@TheDevKing 4 жыл бұрын
that's great man! Keep it up, you can probably learn scripting better than most people if you thought this was easy lol
@jackenplayz2478
@jackenplayz2478 4 жыл бұрын
same
@KaosxWrld
@KaosxWrld 4 жыл бұрын
Hey Khy!
@pora6538
@pora6538 4 жыл бұрын
Same xd
@yuinurahilyon5711
@yuinurahilyon5711 4 жыл бұрын
Its very basic and simple...
@theartkid7226
@theartkid7226 4 жыл бұрын
Hello! I am very excited to learn with you! Finally found someone who posts more regularly, Thank you!
@consquence9313
@consquence9313 3 жыл бұрын
If anyone's wondering why "print(newCFrame)" prints out the same values, it's because "newCFrame" is the variable, so it won't change. The way to print out the part's actual current CFrame is by doing print(part.CFrame) part.CFrame = part.CFrame * newCFrame print(part.CFrame) I know I'm very late, but I hope there are still people wanting to be a developer.
@tydite5808
@tydite5808 2 жыл бұрын
the fact that this person is still helping people is really nice, this helped me out :)
@nightvolk6853
@nightvolk6853 2 жыл бұрын
yup, it works
@MemeDealer-ls6pf
@MemeDealer-ls6pf 2 жыл бұрын
Still helpful, I do wonder what the other values are
@Azure546
@Azure546 2 жыл бұрын
There is and thats me :)
@xxgigacat691morbillionview3
@xxgigacat691morbillionview3 2 жыл бұрын
thanks a lot :)
@alongal407
@alongal407 3 жыл бұрын
"Cframe is better to use because you use it more often" -The Dev King
@Gen1us707
@Gen1us707 Жыл бұрын
bro your tutorials are the best out there. I would really do something for you but im just a random stranger aka fan. These tutorials are so good, that my scripting knowledge increased alot. your advanced tutorial is ACTUALLY advanced, not like if statements in the advance tutorial. I never understood CFrame better than this tutorial. Thank you, DevKing
@user-fd4sk8ev4d
@user-fd4sk8ev4d 10 ай бұрын
Thank you so much for this series of videos! They are really helpful, I have been looking for scripting tutorials for a long time. You are really good at explaining.
@infernozxy3360
@infernozxy3360 4 жыл бұрын
I was waiting for this :D
@Cashier191
@Cashier191 2 жыл бұрын
Your the best! Thanks for all the scripting tutorials so far!
@acemo1
@acemo1 4 жыл бұрын
Nice was just gonna search for a cframe tutorial
@matthewyazziee2343
@matthewyazziee2343 Жыл бұрын
This was a good video thank you! I am trying to gain a better understanding in learning CFrame!
@sandpaperunderthetable6708
@sandpaperunderthetable6708 3 жыл бұрын
I was confused by other youtuber but i finally understood when you explained
@MysticAalin
@MysticAalin 3 жыл бұрын
Thank you so much.. Your user input service tutorial was the best it made me learn ALOT
@IndeedMax
@IndeedMax Жыл бұрын
Bro explains things so good, thanks man.
@TheSxrged
@TheSxrged 4 жыл бұрын
This helped me when I was trying to shoot out a hand, it would always be turned the wrong way depending on where I was facing, but cframe fixed that. Thanks 😀
@FeedMyBalls
@FeedMyBalls 2 жыл бұрын
thanks for making it simple! keep it up my man B)
@dregwu8904
@dregwu8904 4 жыл бұрын
Thanks for the tutorial it helped me with cframes
@xead2181
@xead2181 4 жыл бұрын
Another good video as always. I am becoming more independent with scripting souly because of your videos and starting to go to the Developer Hub for scripting! Thanks a bunch!
@anrovlogs2834
@anrovlogs2834 4 жыл бұрын
before :: what is CFrame its a position?? after watching this video :: Okey i know now what is cframe XD
@anrovlogs2834
@anrovlogs2834 4 жыл бұрын
im so happy bcuz i learned scripting from you
@realprisec
@realprisec 4 жыл бұрын
I think no one fucking cares
@liamstudios1390
@liamstudios1390 4 жыл бұрын
@@realprisec lmao
@realprisec
@realprisec 4 жыл бұрын
@@liamstudios1390 I don't know why I was this rude.
@liamstudios1390
@liamstudios1390 4 жыл бұрын
@@realprisec xD
@polishedmeat6399
@polishedmeat6399 4 жыл бұрын
Dude thanks, I learned so much.
@nilegef4590
@nilegef4590 4 жыл бұрын
thank you just needed to look over this didn't remember cframe
@Dxrkmania
@Dxrkmania 3 жыл бұрын
Thx for this tutorial u make it very easy to under stand Love u!
@mcgrxddle
@mcgrxddle 3 жыл бұрын
Thanks SOOO MUCH i know have alot of knowledge about CFrame thanks DeKing!
@miner1011
@miner1011 3 жыл бұрын
just started this advanced series, cant wait for TWEENING!
@olikjam1372
@olikjam1372 2 жыл бұрын
hi, so i took a break from programming and i did not understand cframe. now i wanna come back and you have just explained cframe so well i get it now. Thank you so much for making these tutorials and allowing me to learn to program
@calebchau1752
@calebchau1752 2 жыл бұрын
uahc belac
@thewolker641
@thewolker641 10 ай бұрын
same
@DOODE_DEV-qe1lm
@DOODE_DEV-qe1lm Ай бұрын
Also awesome tutorial!
@TheLexingtonTimes
@TheLexingtonTimes 2 жыл бұрын
Roblox scripting is the one time my trigonometry and physics classes ever came in handy.
@littlebabypuffer
@littlebabypuffer 4 жыл бұрын
I made a loop to make a part rotate infinitely. local part = script.Parent local NewCFrame = CFrame.Angles(0,math.rad(3),0) -- change the 3 to whichever degree you want (bigger number = faster rotation) while true do wait() part.CFrame = part.CFrame * NewCFrame end
@yourmother5706
@yourmother5706 Жыл бұрын
update on scripting journey?
@littlebabypuffer
@littlebabypuffer Жыл бұрын
@@yourmother5706 lua and roblox are both shit, learn c# and unity if you want to be a game dev. Being a game dev is a shit life anyway. learn rust
@yourmother5706
@yourmother5706 Жыл бұрын
@@DiRt51784 sure how u doing
@yourmother5706
@yourmother5706 Жыл бұрын
@@DiRt51784 I’m trying to gather a team of beginner scripters or builders
@yourmother5706
@yourmother5706 Жыл бұрын
@@DiRt51784 I want everyone to help each other
@indigoo8013
@indigoo8013 2 жыл бұрын
It was verry easy to understand wasn t confusing al all
@pelot987
@pelot987 Жыл бұрын
Useful Tutorial! I need this one so I can make a working door :)
@vitoawesome
@vitoawesome 4 жыл бұрын
Tutorial on metatables
@keikmeex3829
@keikmeex3829 4 жыл бұрын
Radians are basically fractions of a full 2D circle (360 degrees) So if an object is rotated 180 degrees, it is halfway through its entire rotation. In other words, the rotation of the object is 1/2 or 180/360 in radian.
@bullshitdepartment
@bullshitdepartment 3 жыл бұрын
Not quite....there are 2pi radians in the circumference of a circle, hence the equation C= 2pi *r. Therefore, 2pi radians = 360 degrees and the most useful one, pi radians, = 180 degrees or in other words 3.14 radians = 180 degrees
@guilhermechaves8372
@guilhermechaves8372 Жыл бұрын
a radian is the angle formed when you get an arc of a circle that is the same length as the radius.
@ayo123
@ayo123 Жыл бұрын
It's not a fraction. Ok is equal to 180, so 180 = pi. That means 2pi = 360, because it's 180 x 2 (so you multiply ok by 2 also) so 45 = pi\4, because 45 is 180 divided by 4
@ayo123
@ayo123 Жыл бұрын
I mean pi not ok
@user-xz9oo8di2s
@user-xz9oo8di2s Ай бұрын
my brain cant comprehend wut yall r saying
@oreki1476
@oreki1476 2 ай бұрын
I might be late to learn this but good video Man im Learning a lot from it!
@user-qv4ht5ri3g
@user-qv4ht5ri3g 2 ай бұрын
Same bruh
@baconmasterr
@baconmasterr 7 күн бұрын
never too late to learn how to script, hope you watched the beginner series tho lol XD
@jozsikakatona4910
@jozsikakatona4910 4 жыл бұрын
Thank you , I understand it now.
@Idk_Rush
@Idk_Rush 2 жыл бұрын
I understood it the second time I watched it :D
@itsnotloveitslust
@itsnotloveitslust 4 жыл бұрын
It make's me depressed that you do not have more subscribers. You put lots of time and effort into making videos for people, and your not even making any money off of it. You take the time of day to teach random people how to achieve dreams of developing games, and you make them in high quality. I respect you.
@TheDevKing
@TheDevKing 4 жыл бұрын
Thanks a lot man! I appreciate you looking out for me but its okay loI have another roblox related youtube channel which gets millions of views. This one is just for fun and to help people learn scripting because whenever I first learned I always wished I could have someone who could help me and would upload videos regularly and explain everthing.
@TapWaterRBLX
@TapWaterRBLX 4 жыл бұрын
TypicalHB hey just saw this lol this is the channel
@rubina9271
@rubina9271 4 жыл бұрын
@@TapWaterRBLX Thanks for the videos Tap, can ya do raycasting next? I am keen on learning that and your tutorials are really well explained!
@marynassuna3792
@marynassuna3792 3 жыл бұрын
I'm bout to learn a new civilization of coding after this guy finishes his series
@Clownzyy
@Clownzyy 2 жыл бұрын
"If you want the degrees to be in your here" Nice Job
@elpapaito9141
@elpapaito9141 2 жыл бұрын
We're on advanced scripting tutorials and he's teaching vectors and how to start a game without spawning in, I seriously love this dude. 😂
@scriptedgraphics4915
@scriptedgraphics4915 4 жыл бұрын
When Tapwater doesnt understand somthing, he says. Dont worry about that he he...
@lightermcqueet3977
@lightermcqueet3977 3 жыл бұрын
The reason why you’d be seeing that huge ass decimal when printing it out is because the angle still remains represented in radians form. 45 degrees in radians is pi/4, which when divided amounts to that number.
@imper3310
@imper3310 2 жыл бұрын
To those still confused: Radians are just another unit for angles. Just like for length we got inches and feet, for angles there's degrees and radians.
@pchanio
@pchanio 2 жыл бұрын
radians are the arced length of a unit circle whereas degrees are used to measure angles
@RubyYTer
@RubyYTer 2 жыл бұрын
THAT JUST CONFUSES ME EVEN MORE! INCHES ARE LESS THAN FEET! DOES THAT MEAN DEGREES ARE LESS THAN RADIANTS? BUT IN THE VIDEO THEY WQERE THE EXACT SAME!! UGH....
@justdoit6141
@justdoit6141 Жыл бұрын
@@RubyYTer radians express degrees in terms of pi. 2 pi describes a whole revolution around the unit circle
@dr_mafarioyt4313
@dr_mafarioyt4313 Жыл бұрын
Fun fact: Radians ≈ Degrees / 57
@jso1
@jso1 5 ай бұрын
​@@RubyYTer 2 units of measure can have the same value. its just that inches and feet dont
@wiktorm3838
@wiktorm3838 4 жыл бұрын
Thank you so much. I m making a game like a crossy road and now i know how to change my camera orientation.
@thefork4416
@thefork4416 4 жыл бұрын
What's your game going to be called?
@wiktorm3838
@wiktorm3838 4 жыл бұрын
@@thefork4416 idk what s It going to be called but somthing like Mario
@davidshaver7765
@davidshaver7765 4 жыл бұрын
Wiktor Musiał Be careful with calling it Mario Roblox may take it down because of the Nintendo copyrights.
@wiktorm3838
@wiktorm3838 4 жыл бұрын
@@davidshaver7765 yea i know but i stopped working on this project now i m working on crossy road and it will be name cross the road. I started work on crossy the road then on Mario and i returned to cross the road :)
@designd9956
@designd9956 4 жыл бұрын
what the holy freak you can do that. okay im gonna start watching the video
@clouder
@clouder 3 жыл бұрын
Thx!
@josephFN_
@josephFN_ 3 жыл бұрын
Very great
@secrectdev2600
@secrectdev2600 3 жыл бұрын
you explained it very well
@alimtr2496
@alimtr2496 4 жыл бұрын
Thank you
@over4863
@over4863 4 жыл бұрын
*confusing Spanish noices*
@cracktus1392
@cracktus1392 3 жыл бұрын
you make mistakes so confindently, thats why i love this channel
@betrayedpickle291
@betrayedpickle291 3 жыл бұрын
Captions said Deaf King, pretty cool
@kraai1152
@kraai1152 4 жыл бұрын
I've tried forcing myself to learn to code for years. I always met an obstacle that would demotivate me for months and I am very forgetful. Something about the format of these videos makes it really understandable, and maybe I'll actually be able to do something with code outside of school.
@seamusforever7081
@seamusforever7081 4 жыл бұрын
Same here, I've been trying to learn Django for almost a year, and i always demotivate and get back after two or three months, but everytime it's easier to learn new stuff.
@olikjam1372
@olikjam1372 2 жыл бұрын
Same, with me trying to learn lua. I get demotivated just like you but still wanna continue.
@notananimegirl
@notananimegirl Жыл бұрын
I know this reply is 2 years late but something that can help is to make quizlets, or any other studying app of your choice. After typing the same commands over and over, it really sticks in your brain. Another thing you could do is force yourself into a schedule by getting an online class with a teacher, if you are willing to pay. Knowing that someone is checking your work (and silently judging you) is a great motivator!
@kraai1152
@kraai1152 Жыл бұрын
@@notananimegirl lmao i gave up
@notananimegirl
@notananimegirl Жыл бұрын
@@kraai1152 you gotta try again. Do it for me (◕︿◕)
@xerto_YT
@xerto_YT Жыл бұрын
You could use the formula for degrees conversion as rad multiplied by 180/ pi value ( 3.14 or 22/7 )
@codyclapham6962
@codyclapham6962 4 жыл бұрын
Great vid, can you please do another one explaining what happens if you add in ( + )because I know it does something and I don’t understand it.
@Star-hi1dv
@Star-hi1dv 4 жыл бұрын
14:05 ish, it wasn’t displaying two different cframes since he was printing the variable called ‘newcframe’, not the actual cframe of the part. He should have printed ‘part.CFrame’ to those who were wondering
@JellybeanSTUDIOS
@JellybeanSTUDIOS 3 жыл бұрын
This video is helping me write a custom camera script...
@j1ck425
@j1ck425 4 жыл бұрын
the reason why the CFrame values were the same is because you were printing the variable ( CFrame.Angles(0,math.rad(45),0) ) and not the parts CFrame.
@bluestone824
@bluestone824 3 жыл бұрын
what i wanted to use multiple movements? like as if i wanted it to move from 0, 0, 0 to 0, 5, 0 and then again to 0, 5, 2 or something like that? that would be extremely helpful! But still thanks for the tutorial! this helped alot.
@cyrb_dob
@cyrb_dob 3 жыл бұрын
I think that CFrame and TweenService is a great mix
@Vato_Hey
@Vato_Hey 7 ай бұрын
Idk how but i always undarstand whatever you teach me
@RoboticUzi1x
@RoboticUzi1x 8 ай бұрын
Hey I have a question, at 13:19 why would one say * if we want to add the angle to the previous angle, in other words why is * adding the angle
@botnumb39
@botnumb39 Жыл бұрын
The dev king is definitely the funniest dev
@aardev_3009
@aardev_3009 3 жыл бұрын
Waw very easy and usefull :)
@mrzackplayzroblox8055
@mrzackplayzroblox8055 3 жыл бұрын
tank you :D
@freee8581
@freee8581 4 жыл бұрын
Now I can finish my core startup.
@chickennuggys530
@chickennuggys530 4 жыл бұрын
Thank you so much this really helped me get an idea about a game
@TheDevKing
@TheDevKing 4 жыл бұрын
awesome!
@HerculePoirot.
@HerculePoirot. 19 күн бұрын
@@TheDevKingHey!
@qwurx_11
@qwurx_11 3 жыл бұрын
I am confused! But I will rewatch the video on my computer because on my computer I just tend to concentrate more!
@symbiote626
@symbiote626 28 күн бұрын
We got this brothers! Finished beginner series and only 18 videos remaining
@vrltx7863
@vrltx7863 3 жыл бұрын
Thank god I have learned about radicals multiple years before this video, or I wouldn't have understood "math.rad(45)" very well XD.
@manuelyt830
@manuelyt830 3 жыл бұрын
this worked!
@Sam_PlaysRoblox
@Sam_PlaysRoblox Жыл бұрын
nvm I am finally able to understand this... after 2 weeks
@cynthony3739
@cynthony3739 4 жыл бұрын
Thank you god bless you
@GordonGoodman786
@GordonGoodman786 2 жыл бұрын
“Guys it is the deaf king here” -closed captions
@Mayohills
@Mayohills 3 жыл бұрын
Radiants would be if you measure the length of a circle with a radius of one (so 90 degrees would be 0.5pi) for a little clarification (i hope)
@bradleywhais7779
@bradleywhais7779 4 жыл бұрын
Is there any advantage to using CFrame? seems like its easier and shorter to point to the position and orientation. in fact you could make a module script and use the part as a var to get the position and orientation.
@quintavius4865
@quintavius4865 3 жыл бұрын
radians are basically another way to represent angles, accept using pi. 45 degrees is the same as pi/4 radians.
@xboydubose7254
@xboydubose7254 4 жыл бұрын
Why does CFrame use multiplication to offset, and Vectors use addition?
@TheDevKing
@TheDevKing 4 жыл бұрын
not sure, but its the exact same thing. It's just the way it was written. I kind of explained in the video. You might be able to find something online tho
@chipanyanwu
@chipanyanwu 4 жыл бұрын
It's because CFrames are something called Matrices which you can't add together.
@Positivityy10
@Positivityy10 4 жыл бұрын
BearByte2 Can you explain to me what a matrices is?
@bingusiswatching6335
@bingusiswatching6335 4 жыл бұрын
Ahhgh, matrices matrices, it's just a linear algebra thing, vectors are like arrows, matrices are like tables! But i don't study linear algebra...
@Positivityy10
@Positivityy10 4 жыл бұрын
Dave's Codes Oh alright. Thanks
@backkslashhh
@backkslashhh 3 жыл бұрын
If yall are wondering what a radian is, it's just 57.3° per 1 radian and Pi radians is 180 degrees so 2 pi radians is 360 degrees
@wripwrath4421
@wripwrath4421 3 жыл бұрын
You are the narrator of Kahn academy.
@ahamedsalim7609
@ahamedsalim7609 3 жыл бұрын
i found out how to rotate a part bymyself(didnt search it up) local part = script.Parent local newCFrame = CFrame.Angles(0,math.rad(3),0) while true do part.CFrame = part.CFrame * newCFrame wait() end the thing is the angles jus keeps on getting added up so when u run it in a while loop it starts adding up on the angle and starts rotating,also if u increase wait time more the rotating speed decreases and if u change the math.rad to lower u get a smoother rotation , idk if my explanation is ryt but i hope it helps
@khamolbhumithonglim3791
@khamolbhumithonglim3791 3 жыл бұрын
with the help of this. i've proceed to spin blocks around using repeat loops
@ipoststuff.2564
@ipoststuff.2564 4 жыл бұрын
Hey I noticed you have the snipping tool in your hotbar There's a shortcut you can do now to open that up. It's Win + Shift + S
@hoangkakamigahara
@hoangkakamigahara 3 жыл бұрын
OHHHHHHHHHHHHHHHHH
@emil1634
@emil1634 3 жыл бұрын
No it Alt F4
@hc6929
@hc6929 3 жыл бұрын
i love you i could've gone my entire life without knowing that
@bullshitdepartment
@bullshitdepartment 3 жыл бұрын
Thx
@ikeahedgehog
@ikeahedgehog 3 жыл бұрын
@@emil1634 haha troll go BRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
@EndHomunculus
@EndHomunculus Жыл бұрын
Bro this was very easy tbh, Its just like you said it. Its just a Vector3 value but along with position, you can change the part's orientation (rotate the part) too
@Numeristic
@Numeristic 3 жыл бұрын
So uh, CFrame.Angle(num1,num2,num3) is like another Vector3 values, but for orientations? And also a difference, that if the number value is different from 0, you must include "math.rad" before the values to convert it from real life degrees into ROBLOX studio? *And Just CFrame(num1,num2,num3) is the completely same kind as Vector3 values?*
@ItsAlreadyTaken35
@ItsAlreadyTaken35 Жыл бұрын
After absorbing the knowledge from this delicious video I can now make a helicopter
@tenorHarlequin
@tenorHarlequin 4 жыл бұрын
At 14:10, the value isn't changing because you were only referencing newCFrame, which didn't change. "newCFrame" was just your CFrame.Angles(). To see the change, you would've needed to do print(part.CFrame) afterwards. I hope this clears up any confusion anyone may have had on these parts. TheDevKing, I really appreciate what you're doing for the Roblox community, but please please please be more thorough in your tutorials. Maybe it would help to plan out each point as well as what examples you're going to use? I hope you see this as constructive criticism. Edit: I realized that I misinterpreted a part that I previously explained. I've fixed this, and everything else in the comment is still valid.
@witchy4486
@witchy4486 Жыл бұрын
thank u for posting this
@hikaii2349
@hikaii2349 4 жыл бұрын
Why 👏🏻 are 👏🏻 you 👏🏻 so 👏🏻 under- 👏🏻 rated???
@conradpierce8994
@conradpierce8994 4 жыл бұрын
because he stopped uploading for months so I assume most of his viewers just left.
@TheDevKing
@TheDevKing 4 жыл бұрын
That's what I'm wondering lol
@TheDevKing
@TheDevKing 4 жыл бұрын
@@conradpierce8994 true it is my fault. But hey, I can't change the past but I can change the future. I will be uploading every other day so be sure to stay tuned for that! :)
@Yan_Yan209
@Yan_Yan209 Жыл бұрын
Can you do a more in depth tutorial of cframe. Like lookvectors and stuff. Also like matrix which i dont understand.
@declan_youtube
@declan_youtube 3 жыл бұрын
It sounds like he's saying 'It is the dev king year'. Can't disagree.
@unknownedleaf
@unknownedleaf 5 ай бұрын
180 degrees = pi rad
@Shapelybox
@Shapelybox 3 жыл бұрын
Whenever I use math.random on my part it works but the orientation is all wrong. I'll put it at CFrame.Angles(math.rad(90), math.rad(45), (0)) and then it comes out as 45, 90, 90. Can anyone help me? i've been stuck on this problem for too long
@hasisys8429
@hasisys8429 2 жыл бұрын
CFrame is a cosplay of Vector3 but this cosplay have more abilities than the Vector3 such as change orientation of a part
@DOODE_DEV-qe1lm
@DOODE_DEV-qe1lm Ай бұрын
Since CFrame is used to rotate or position parts, in obbies, do the moving parts use CFrame?
@copycat698
@copycat698 4 жыл бұрын
Now that’s cool and all but like, what are the other 6 values?
@user-zm4of9gt1t
@user-zm4of9gt1t 4 жыл бұрын
Just finished peaspod and your beginner guide hello advanced :eyes:
@HeVersatile
@HeVersatile 3 жыл бұрын
You deserve way more credit for going into detail like that!
@gamesinc.4624
@gamesinc.4624 3 жыл бұрын
So, if I did a script like this: local part = script.Parent local newCFrame = CFrame.new(part.CFrame * CFrame.Angles(math.rad(5),0,0)) part.CFrame = newCFrame Would it change the orientation to 5,0,0 but keep the part's postion? (I don't wanna use it, I know there are simpler ways to do it, I just wanna know if I understood it).
@PrimitiveLife4m
@PrimitiveLife4m 3 жыл бұрын
Can you link me to a tutorial where you can see the part moving? (Not teleporting automatically to the value)
I Learned How to SCRIPT in 7 Days | Roblox
11:00
Simjet
Рет қаралды 40 М.
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 105 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 11 МЛН
you SUCK at organizing scripts... Let's fix that!
13:12
Crusherfire
Рет қаралды 11 М.
Playing NPCs are becoming smart Carl is mean
15:51
Chores_editz
Рет қаралды 9 М.
How pro Roblox developers learnt to script
10:03
AlvinBlox
Рет қаралды 839 М.
DON'T Make a Roblox Game Without Watching This First.
27:20
SmartyRBX
Рет қаралды 476 М.
CFrame (Lerp, Angles, ToObjectSpace, ToWorldSpace) | Roblox Studio
19:11
Can 6 DEVS Make a STORY Game Without Communicating?
15:32
RoDev
Рет қаралды 1,4 МЛН
I Scripted Your Funny Roblox Ideas.. (Part 20)
9:57
TheDevKing
Рет қаралды 811 М.
Why You Should Use CFrames
9:32
ByteBlox
Рет қаралды 19 М.
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 105 МЛН