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Күн бұрын
You sound like that "Number 15" guy Idk know why lmao.
@localscripted16 сағат бұрын
burger king foot lettuce..
@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Күн бұрын
Idk what i personally would use this for but pretty cool ngl! You learn smth everyday
@warschdule5 сағат бұрын
An npc
@warschdule5 сағат бұрын
That chases you
@ult-qj2wyКүн бұрын
cool way to optimise game
@albithesecond3921Күн бұрын
oh yeah
@KashTheKingYTКүн бұрын
Another useful video as always Stewiepfing! 🔥
@grandpas-stuffКүн бұрын
What if I want the tweens to sync between all players
@nogoКүн бұрын
what was in the script for the red ball please show !
@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Күн бұрын
just look at the api
@somenerd8139Күн бұрын
seriously, just read the documentation on them.
@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-fy4zq9ns6d23 сағат бұрын
@@Tkdriverx what should i do with it?
@boi875614 сағат бұрын
@@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Күн бұрын
i can't understand vector3 cross and angle can u upload video about it
@stewiepfing539Күн бұрын
Added to my list!
@user-xy1cy4sw2nКүн бұрын
@@stewiepfing539 Ty!
@bbbbbbbКүн бұрын
I'm so glad I subscribed to you. You done just taught me something I haven't known about for 4 years. 😭
@bbbbbbbКүн бұрын
You're way too underrated.
@seadrown6252Күн бұрын
Wouldn't raycasting be better for performance?
@stewiepfing539Күн бұрын
Not 100% sure
@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.Күн бұрын
what about Camera:GetLargestCutoffDistance?
@boi875614 сағат бұрын
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.Күн бұрын
oh also invisicam uses this
@AloneeGGКүн бұрын
We
@Monkeymario.Күн бұрын
We
@LianBuatSesuatuКүн бұрын
We
@macialdo100Күн бұрын
We
@BolehNgopiКүн бұрын
We
@alt_baconxdКүн бұрын
We
@Monkeymario.Күн бұрын
2:08 are you sure doors uses raycssting
@b4con321Күн бұрын
the game "Doors"
@Monkeymario.Күн бұрын
@@b4con321thankyou for pointing out a spelling error
@b4con321Күн бұрын
@@Monkeymario. i meant it like just incase if you understood a door not the game doors
@kekulusskekКүн бұрын
@@Monkeymario. it's called raycasting
@Monkeymario.Күн бұрын
if this is top comment i will chug 1337 cans of bloxy cola
@metassssКүн бұрын
@Monkeymario.Күн бұрын
@@metasssswhat is that emoji
@TripmineProductionsКүн бұрын
@@Monkeymario.
@devnandannair2336Күн бұрын
average like farmer istg
@Monkeymario.Күн бұрын
how accurate is it? and how performant is it?
@banjollerКүн бұрын
What's accurate?
@epixertyКүн бұрын
wdym "accurate" it's not like they randomly generate a result
@C0nejin14 сағат бұрын
I am curious about the performance of the function in comparison to a raycast doing the same thing
@LearnWithOmarOFFICIAL3 күн бұрын
brawldev actually explained this but i couldnt grip the concept thx stewie for explaining it so good
@crackedatfortnite6663 күн бұрын
What nuh uh math.random is better in most cases
@stewiepfing5393 күн бұрын
Explain
@crackedatfortnite6663 күн бұрын
It's faster
@stewiepfing5393 күн бұрын
@@crackedatfortnite666 proof?
@TLegendLeo4 күн бұрын
Thanks 🙏
@wverbrug14 күн бұрын
also whats the difference between game.RunService and game:GetService("RunService") wich one is better
@saviornogame4 күн бұрын
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Күн бұрын
ikr there is A LOT of use cases
@Jackinbox190014 күн бұрын
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
@execute2144 күн бұрын
you really shouldn't, that's called slacking off, this is just learning about something so you can keep practicing it
@epixerty4 күн бұрын
is the name of the function shared between different scripts?
@wedoalittletrolling7234 күн бұрын
yes
@Tamla19594 күн бұрын
can you cover RunService.PreSimulation RunService.Postsimulation and the other one that i forgot?
@4EVERACE4 күн бұрын
Isn't it really better to use PreRender instead of RenderStepped, other than that. Good tutorial!
@epixerty4 күн бұрын
i just read the docs, ":BindToRenderStep()" actually just binds .PreRender
@workindad4 күн бұрын
Awesome video, thumbs up from me.
@zacomad4 күн бұрын
Idk but i love ur video btw :)
@stewiepfing5394 күн бұрын
Do you guys have a preference?
@BrokenBonesRBLX4 күн бұрын
first!
@GreatDevYT4 күн бұрын
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
@flxarelixht11505 күн бұрын
Worked, Thanks so much
@sin_25 күн бұрын
nice 10 xD
@gpgamepremiums7 күн бұрын
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"
@stewiepfing5397 күн бұрын
What do you guys perfer?
@execute2147 күн бұрын
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
@RyanEXElol7 күн бұрын
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
@gpgamepremiums7 күн бұрын
Actually, I knew all of them except debug, but thank you for explaining debug well!
@gpgamepremiums7 күн бұрын
I prefer Color.fromRGB()
@hash42027 күн бұрын
There’s gonna be the bros who use brick color coming in here lol
@noahprobably7 күн бұрын
Color? Never heard of her
@jailvik81647 күн бұрын
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.