Пікірлер
@friendlybuilder2414
@friendlybuilder2414 9 сағат бұрын
kiss me
@friendlybuilder2414
@friendlybuilder2414 9 сағат бұрын
(with rizz)
@stewiepfing539
@stewiepfing539 9 сағат бұрын
😭??
@samp4664
@samp4664 17 сағат бұрын
Can you add me :D user: coolgamer678999
@firepalmmy5933
@firepalmmy5933 18 сағат бұрын
never knew this built in function existed
@jetbarcode666
@jetbarcode666 19 сағат бұрын
Hey bro I'm not subbed but I am gonna sub now :)) but I was wondering if u could make a video on how to make a interactable bed for games? and also how to make overhead accessories? This is what I'm referring too kzbin.infoUgkx-RZmrsNfMHkBVnZTcnhSfog6G-WqgJHH
@_Sickk
@_Sickk Күн бұрын
You sound like that "Number 15" guy Idk know why lmao.
@localscripted
@localscripted 16 сағат бұрын
burger king foot lettuce..
@halohasawaken6793
@halohasawaken6793 Күн бұрын
Interesting.... pretty sure you can make a regulsr raycast where the origin is the camera pos and the direction is some unit pointing to the target follwoed by some huge number (math.huge?). I guess the method you showed reduces this tactic....
@elope622
@elope622 Күн бұрын
Idk what i personally would use this for but pretty cool ngl! You learn smth everyday
@warschdule
@warschdule 5 сағат бұрын
An npc
@warschdule
@warschdule 5 сағат бұрын
That chases you
@ult-qj2wy
@ult-qj2wy Күн бұрын
cool way to optimise game
@albithesecond3921
@albithesecond3921 Күн бұрын
oh yeah
@KashTheKingYT
@KashTheKingYT Күн бұрын
Another useful video as always Stewiepfing! 🔥
@grandpas-stuff
@grandpas-stuff Күн бұрын
What if I want the tweens to sync between all players
@nogo
@nogo Күн бұрын
what was in the script for the red ball please show !
@user-fy4zq9ns6d
@user-fy4zq9ns6d Күн бұрын
can you tell us how can we use Camera:ScreenPointToRay() or Camera:ViewportPointToRay() or all function of the camera? because i want to learn camera's function you are the only man i can learn from so please
@not_eagleye
@not_eagleye Күн бұрын
just look at the api
@somenerd8139
@somenerd8139 Күн бұрын
seriously, just read the documentation on them.
@Tkdriverx
@Tkdriverx Күн бұрын
What they do is take a screen position (x, y) and creates a Ray in 3D space with an origin and a direction based on the camera's current position and direction. This can then be used in WorldModel:Raycast() (WorldModel is just the parent class of Workspace). Viewport ignores the topbar inset, and Screen does not. There's also WorldToScreenPoint() and WorldToViewportPoint() which does the opposite. It takes in a Vector3 in 3D space and gives you the screen position (x,y) where it is, as well as a boolean telling you if its on screen or not.
@user-fy4zq9ns6d
@user-fy4zq9ns6d 23 сағат бұрын
@@Tkdriverx what should i do with it?
@boi8756
@boi8756 14 сағат бұрын
@@user-fy4zq9ns6d with WorldToScreenPoint() and WorldToViewportPoint() you can check if the camera is looking at something, which can be used in a monster that only moves when you arent looking. You can also use that to make a gui in a screen gui move with a part or something
@user-xy1cy4sw2n
@user-xy1cy4sw2n Күн бұрын
i can't understand vector3 cross and angle can u upload video about it
@stewiepfing539
@stewiepfing539 Күн бұрын
Added to my list!
@user-xy1cy4sw2n
@user-xy1cy4sw2n Күн бұрын
@@stewiepfing539 Ty!
@bbbbbbb
@bbbbbbb Күн бұрын
I'm so glad I subscribed to you. You done just taught me something I haven't known about for 4 years. 😭
@bbbbbbb
@bbbbbbb Күн бұрын
You're way too underrated.
@seadrown6252
@seadrown6252 Күн бұрын
Wouldn't raycasting be better for performance?
@stewiepfing539
@stewiepfing539 Күн бұрын
Not 100% sure
@somenerd8139
@somenerd8139 Күн бұрын
Depends on whether or not you want ALL parts or just the closest part that’s blocking the target. This function gives you all parts, but with raycasting it’ll just give you the closest part.
@Monkeymario.
@Monkeymario. Күн бұрын
what about Camera:GetLargestCutoffDistance?
@boi8756
@boi8756 14 сағат бұрын
im pretty sure this just finds the max distance that the camera can be without having anything block it. it is used in the popper cam in which if a part blocks the camera from the camera's focus, it will return the largest distance that the camera could be at again without having anything block it. so this would mean the camera moves in front of the part, so that there is nothing blocking the camera from its focus
@Monkeymario.
@Monkeymario. Күн бұрын
oh also invisicam uses this
@AloneeGG
@AloneeGG Күн бұрын
We
@Monkeymario.
@Monkeymario. Күн бұрын
We
@LianBuatSesuatu
@LianBuatSesuatu Күн бұрын
We
@macialdo100
@macialdo100 Күн бұрын
We
@BolehNgopi
@BolehNgopi Күн бұрын
We
@alt_baconxd
@alt_baconxd Күн бұрын
We
@Monkeymario.
@Monkeymario. Күн бұрын
2:08 are you sure doors uses raycssting
@b4con321
@b4con321 Күн бұрын
the game "Doors"
@Monkeymario.
@Monkeymario. Күн бұрын
@@b4con321thankyou for pointing out a spelling error
@b4con321
@b4con321 Күн бұрын
@@Monkeymario. i meant it like just incase if you understood a door not the game doors
@kekulusskek
@kekulusskek Күн бұрын
​@@Monkeymario. it's called raycasting
@Monkeymario.
@Monkeymario. Күн бұрын
if this is top comment i will chug 1337 cans of bloxy cola
@metassss
@metassss Күн бұрын
@Monkeymario.
@Monkeymario. Күн бұрын
@@metasssswhat is that emoji
@TripmineProductions
@TripmineProductions Күн бұрын
@@Monkeymario.
@devnandannair2336
@devnandannair2336 Күн бұрын
average like farmer istg
@Monkeymario.
@Monkeymario. Күн бұрын
how accurate is it? and how performant is it?
@banjoller
@banjoller Күн бұрын
What's accurate?
@epixerty
@epixerty Күн бұрын
wdym "accurate" it's not like they randomly generate a result
@C0nejin
@C0nejin 14 сағат бұрын
I am curious about the performance of the function in comparison to a raycast doing the same thing
@LearnWithOmarOFFICIAL
@LearnWithOmarOFFICIAL 3 күн бұрын
brawldev actually explained this but i couldnt grip the concept thx stewie for explaining it so good
@crackedatfortnite666
@crackedatfortnite666 3 күн бұрын
What nuh uh math.random is better in most cases
@stewiepfing539
@stewiepfing539 3 күн бұрын
Explain
@crackedatfortnite666
@crackedatfortnite666 3 күн бұрын
It's faster
@stewiepfing539
@stewiepfing539 3 күн бұрын
@@crackedatfortnite666 proof?
@TLegendLeo
@TLegendLeo 4 күн бұрын
Thanks 🙏
@wverbrug1
@wverbrug1 4 күн бұрын
also whats the difference between game.RunService and game:GetService("RunService") wich one is better
@saviornogame
@saviornogame 4 күн бұрын
I didnt realize there was a binding method for renderstepped. I can see many use cases for priorities so I'll keep it in mind.
@jso1
@jso1 Күн бұрын
ikr there is A LOT of use cases
@Jackinbox19001
@Jackinbox19001 4 күн бұрын
There are pepole who says, "Dont follow youtube tutorials", this guy is not the person who defines that argument, he is the person who Undefines it, btw can you make a video on teams
@execute214
@execute214 4 күн бұрын
you really shouldn't, that's called slacking off, this is just learning about something so you can keep practicing it
@epixerty
@epixerty 4 күн бұрын
is the name of the function shared between different scripts?
@wedoalittletrolling723
@wedoalittletrolling723 4 күн бұрын
yes
@Tamla1959
@Tamla1959 4 күн бұрын
can you cover RunService.PreSimulation RunService.Postsimulation and the other one that i forgot?
@4EVERACE
@4EVERACE 4 күн бұрын
Isn't it really better to use PreRender instead of RenderStepped, other than that. Good tutorial!
@epixerty
@epixerty 4 күн бұрын
i just read the docs, ":BindToRenderStep()" actually just binds .PreRender
@workindad
@workindad 4 күн бұрын
Awesome video, thumbs up from me.
@zacomad
@zacomad 4 күн бұрын
Idk but i love ur video btw :)
@stewiepfing539
@stewiepfing539 4 күн бұрын
Do you guys have a preference?
@BrokenBonesRBLX
@BrokenBonesRBLX 4 күн бұрын
first!
@GreatDevYT
@GreatDevYT 4 күн бұрын
2:30 yeah let's ignore the fact that the studio already renders thousands of the parts to the camera so they look like they're really in 3d every frame
@flxarelixht1150
@flxarelixht1150 5 күн бұрын
Worked, Thanks so much
@sin_2
@sin_2 5 күн бұрын
nice 10 xD
@gpgamepremiums
@gpgamepremiums 7 күн бұрын
I think there are two units of code that I don't want Roblox to deprecate. These are: "Enum.RaycastFilterType.Blacklist" and "Enum.RaycastFilterType.Whitelist"
@stewiepfing539
@stewiepfing539 7 күн бұрын
What do you guys perfer?
@execute214
@execute214 7 күн бұрын
10:44 one thing I've noticed, you can use that formula to compress a number with a variable range and size assuming the range is 100 (26 * 100^2) + (48 * 100^1) + (9 * 100^0) then to decompress the result (x is the result): (x % 100) for 26 (x // 100 % 100) for 48 (x // 100 // 100 % 100) for 9
@RyanEXElol
@RyanEXElol 7 күн бұрын
7:10 seems like that from bloxburg (you can customize ui color) and you had to put it there, now I know how they made it lol
@gpgamepremiums
@gpgamepremiums 7 күн бұрын
Actually, I knew all of them except debug, but thank you for explaining debug well!
@gpgamepremiums
@gpgamepremiums 7 күн бұрын
I prefer Color.fromRGB()
@hash4202
@hash4202 7 күн бұрын
There’s gonna be the bros who use brick color coming in here lol
@noahprobably
@noahprobably 7 күн бұрын
Color? Never heard of her
@jailvik8164
@jailvik8164 7 күн бұрын
Maybe its just for comfortable using, however most are using fromRGB because its most common microsoft color changing. Maybe y/kno people came from other coding languages and using these.
@eggsensei
@eggsensei 7 күн бұрын
first!!!
@jailvik8164
@jailvik8164 7 күн бұрын
Bro m8 i swear...