The Ultimate Guide for Physics in Game Development!

  Рет қаралды 99,803

Will Hess

Will Hess

Күн бұрын

In this video, I am going to thoroughly go over everything about physics in game development. Regardless of whether you are a complete beginner and don’t know what a force is, or a seasoned game developer who uses physics all the time, I can almost guarantee that you will take something new away from this video. This is the ultimate guide for physics in game development.
The video is broken up into 8 different sections and in each section, I first go over the core concept and then show you how it can actually be used. The sections are kinematics, Forces, Friction, Drag, Collisions, Impulsive Forces, Rotational kinematics and dynamics, and the Rigidbody Component.
In the video, I use the unity game engine (particularly unity 3D), but physics is physics and the concepts and themes will be the same regardless of the game engine you use.
Links:
Project File: github.com/WillHess3/Unity-Ph...
Full Hammer and Feather Video: • Apollo 15 Hammer-Feath...
Chapters:
0:00 - Intro
1:18 - Kinematics
9:44 - Forces
19:08 - Friction
27:14 - Drag
33:38 - Collisions
40:39 - Impulsive Forces
46:23 - Rotational Motion
56:11 - Rigidbody Component
1:02:13 - Recap
Kinematics is the branch of mechanics concerned with the motion of objects without reference to the forces which cause the motion. This basically means that we are calculating an object's motion from some initial set of conditions and the time elapsed. Here we are not going to consider any forces. In game development, we can incorporate this concept with the kinematic equations. The main kinematic equation and the only one you really need is xf = 0.5at2 + vt + xi. In Unity, we can make a script in C# that has a function with the kinematic equation coded in. This way we can set up some initial conditions and launch objects in our video games.
Kinematics is pretty good, but there are some drawbacks. The biggest one (at least for us game developers) is the fact that handling collisions with kinematics is very difficult because you would have to program it all yourself. It is a much better idea to let the unity game engine handle all of that stuff and you use forces.
A force is a just a mass times an acceleration, and they can be constantly applied to an object to accelerate it realistically. We can use forces in our games this way to simulate things that are constantly getting faster. The demo I used in the video was rockets accelerating forward in space. In Unity we can use forces by calling the AddForce function on our Rigidbody.
Friction is a type of force that resists the motion of two objects in contact and is the force responsible for making objects stop moving when no other force acts on them. The force of friction is equal to the coefficient of friction times the force normal. In unity we set this up by adjusting the two friction values in a physics material. the friction values on the two objects in contact get combined somehow to produce the coefficient of friction used in the actual calculation. If no physics material is on an object it will behave as is it has a static and dynamic friction of .6
Drag is another resistive force that resists the motion of an object as it is suspended in free fall. The force of drag (simplified version) is equal to -bv. In unity however the drag variable doesn't equal b, it equals b / m or g / vt where vt is terminal velocity.
There are 3 main types of collisions, elastic collisions, where no energy is lost, inelastic collisions, where some energy is lost, and perfectly inelastic collisions, where all energy is lost. No matter what type of collision you are facing, momentum is always conserved. We can determine a collisions elasticity in unity by using the bounciness variable in our physics materials.
Impulsive forces are a way for us to quickly change an objects momentum. We could realistically do this by having a very high force acting over a short time, or we could just do a cheeky game developer move and do it instantly. To do this in unity all you have to do is type ForceMode.Impulse as the second argument in the AddForce function. This is probably one of if not the most important topics in the video.
Rotational motion is broken up into two mini sections with the first being on rotational kinematics. It's exactly the same as regular kinematics except just using the rotational variables. The next mini section is on rotational dynamics mainly just focusing on torques. Torque is the measure of the force that causes an object to spin around an axis. It equals the position vector crossed with the force vector, and also an object's moment of inertia times its angular acceleration.
In the last section I just went over everything else about the Rigidbody component in Unity.
Subscribe: kzfaq.info...
Instagram: / will_hess_yt
Discord: Will Hess(hashtag)9883
If you have any questions DM me over Instagram or Discord

Пікірлер: 271
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
CORRECTIONS: - gravity on earth’s surface, g, is 9.8 m/s^2 and not -9.8m/s^2. The negative comes from saying that it is “pulling you down” and not “pushing you up” - a normal force is not just the force that counters gravity. In a Goldilocks scenario where the object is on a flat surface, it is, but normals are perpendicular to the surface, not just straight up in the air. If you find more leave a comment and I’ll add it here!
@HoSza1
@HoSza1 10 ай бұрын
It depends on your choice of coodinate system axes. Choose your x coordinate to increase downwards and the equation for a falling object is going to become s=s0+v0t+½gt² with a positive g (a=g). Choose the opposite direction and you will need a negative value.
@1234macro
@1234macro 10 ай бұрын
@@HoSza1 X coordinate?
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
@@HoSza1I just like to think about it like this, things get thrown in parabolas that open downwards. In order for a parabola to open downwards the term that has t^2 has to be negative so I just throw a negative in there. I usually don’t get too fussed about those negatives because using common sense works fine (until it doesn’t lol). Also don’t for get the (1/2) with your at^2 term, or else the integral gods will be sad.
@terjelindtveit8072
@terjelindtveit8072 10 ай бұрын
You definitely want to do v squared for fluid forces. But honestly if you have an idea of the motion you want to replicate you are probably best off to keep the full equation and just place in imaginary values for certain prams. The cross section area is easily estimated, and so with that you are left with two parameters; density and drag coefficient. Put the density to the fluid you want it to behave like and put the drag coefficient such as to match whatever you want like terminal velocity or something. That way when you put other elements into your environment they all behave consistently.
@oisyn-
@oisyn- 10 ай бұрын
It's not the leaning tower of pizza. It's the leaning tower of Pisa. "Pee-sa" 😉
@mehmeh8883
@mehmeh8883 10 ай бұрын
"thanks to Galileo and his balls.." lmao
@silvertakana3932
@silvertakana3932 9 ай бұрын
That caught me so off guard 😂 💀
@badunius_code
@badunius_code 9 ай бұрын
And tower of pizza
@irvinmuziwenkosi
@irvinmuziwenkosi 3 ай бұрын
😆😆Got me rolling
@maxfrobin8930
@maxfrobin8930 10 ай бұрын
My man just condensed an entire highschool physics semester into a 1h video... good work! I wish this was the pacing we had at school xD
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Lol I guess so! Thanks for watching!
@Nightwulf1269
@Nightwulf1269 10 ай бұрын
What the actual F***...this is the most explanatory and comprehensive video explaining such complex topics I have ever seen. Extremely good job!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you so much!
@DrZwieback
@DrZwieback 11 ай бұрын
Thanks for pouring so much energy into this video. Must have taken a while to produce. For me this is a super helpful refresher on physics in general and you did a great job relating it to game dev and Unity here. Thanks and subscribed! :)
@WillHessGameDev
@WillHessGameDev 11 ай бұрын
Thank you so much for watching and subscribing!!!
@ItsStaffDaddy
@ItsStaffDaddy 10 ай бұрын
I dropped physics 1 in college and went to a different science for my CS degree because I knew the topics conceptually, but my mathematical understanding of them were lacking (also was working full time and taking classes full time, so that didn’t help). This video alone taught me how to understand them on a deeper mathematical level much better than my professor ever did. Thanks boss
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you so much! I’m glad I could help!
@alansmithee419
@alansmithee419 3 ай бұрын
Either Physics 1 was way more complicated than this, you weren't paying attention, or your professor *sucked* at teaching.
@LRTOTAL
@LRTOTAL 10 ай бұрын
Pro vectors tip: If you had problems calculating the angle of a vector from 0 to 360° (or 2π rad), it's probably because you used atan(y/x) instead of the 2-argument arctangent: atan2(y, x) which takes the two variables. Dividing y/x before passing it to the arctan function actually loses information about directionality, for example -1/1 = 1/(-1). But (1, -1) and (-1, 1) are not the same vector and don't represent the same angle.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you for these tips!
@dannydoo3834
@dannydoo3834 Жыл бұрын
Can't thank you enough for this, you gained my sub brother. I was collecting resources online so I can understand how to implement things. I stumbled upon your video (haven't finished it yet, but the sections you've covered with demos are tremendously useful.) and now everything seems a lot more in place.
@WillHessGameDev
@WillHessGameDev Жыл бұрын
No problem, and thanks for subscribing!
@martinthexr
@martinthexr 3 ай бұрын
Hey man, I just saw your video and it was one of the best about physics for game dev, pretty sure that you have spent huge amount of efforts into it. The knowledge was comprehensive and actually being all the knowledge a university student will learn in the first 2 years, which later apply for the game dev. And just want to say you did a great job, really appreciate your work !
@WillHessGameDev
@WillHessGameDev 3 ай бұрын
Glad you liked it!
@kahwull014
@kahwull014 11 ай бұрын
Thanks a lot!! Just watched your pixel art video and i need to say I'm loving your channel, bro!!
@WillHessGameDev
@WillHessGameDev 11 ай бұрын
Glad you enjoy it!
@marmikemp3767
@marmikemp3767 10 ай бұрын
Finally a truly informational video. Instant sub.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you so much!
@nikjeewon4672
@nikjeewon4672 Жыл бұрын
Started looking into math and physics yesterday to buff my gamedev - will be checking this out, thanks for your effort boss!
@WillHessGameDev
@WillHessGameDev Жыл бұрын
No problem!
@nameno7032
@nameno7032 2 ай бұрын
Such a gem, hope you cover more physic topic in the future
@nenadjovanovski1461
@nenadjovanovski1461 10 ай бұрын
Great video! Just wanted to mention a small funny moment. You said at 20:55 that static friction should always be greater or equal to dynamic friction, but a few seconds later when you show the unity settings, you entered dynamic 0.25 and static 0.2 friction. Apart from that, keep up the good work!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Yeah, I was probably just picking random numbers for that… thanks for catching that and watching!
@parsahosseini4241
@parsahosseini4241 2 ай бұрын
Liked, subscribed, shared, and commented... If there were anything else that I could do, I would bro, this is considered a piece of art, the art of making concepts easy to understand, without cutting any part of it. Awesome work man, appreciate the time and energy you put into this video ❤
@WillHessGameDev
@WillHessGameDev 2 ай бұрын
Much appreciated!
@oldmankatan7383
@oldmankatan7383 10 ай бұрын
Rock solid and practical, thank you for putting this out there for everyone!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
No problem! Thanks for watching
@barvykovsky
@barvykovsky 10 ай бұрын
Really useful video. I don't know how accurate it is but I learned a lot :D Thanks for doing this and I hope you'll get more views :)
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you!
@nodel1342
@nodel1342 20 күн бұрын
This video is deadass just my AP Physics 1 class lol. Awesome vid!!!!!!!
@ArchonLicht
@ArchonLicht 10 ай бұрын
Great physics refresher video. Not sure what all the videogame stuff is about :D
@congnam380
@congnam380 4 ай бұрын
Your video is really helpful, I was stuck with creating friction for my game for the last few days then found out your video then I skipped to the 'friction' part and your explanation help me in just 5 seconds to figure it out.
@WillHessGameDev
@WillHessGameDev 4 ай бұрын
Glad it helped!
@dianlabuschagne2239
@dianlabuschagne2239 10 ай бұрын
Now this is S tier content! Tnx so much! May your channel blow up!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thanks!
@MLCHRL
@MLCHRL 11 ай бұрын
Hi! I really liked your guide! I understood about 10% the first time. I'll watch it again to understand more. Thanks for making this for beginners.I'm working as a full-stack developer for years, but I dream to be a game dev once a while. Your guide is a great help for my projects. Do you also live-stream your work? I would love to see you doing game development live. Thanks again for your great work!
@WillHessGameDev
@WillHessGameDev 11 ай бұрын
Hi! First of all, thanks for watching and leaving a comment. I really appreciate it. And about the live streaming, I have never done it but I have always had that idea in the back of my head once the channel takes off a little bit more. My thing is that if I did it now it would be a lot of work on my end for like probably 10 people to watch, so it doesn’t seem worth it to me to do it now. But I’m glad you would watch live!
@gordonmccrary6279
@gordonmccrary6279 10 ай бұрын
This was very good. You are a fantastic teacher also. Thanks for the effort.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Glad it was helpful!
@chibist
@chibist 6 ай бұрын
Awesome Content 🔥 THANK YOU SO MUCH!
@WillHessGameDev
@WillHessGameDev 6 ай бұрын
Thanks for watching!
@redhood7105
@redhood7105 17 күн бұрын
That's my friend is a golden standard of the gamedev content
@KennyFully
@KennyFully Жыл бұрын
Nice! Thank you for this!
@WillHessGameDev
@WillHessGameDev Жыл бұрын
No problem!
@Rptr797-wn4iu
@Rptr797-wn4iu 23 күн бұрын
After a long day of chores, school, and boredom I wanted to learn some more c# and I saw this video, I already had a head ache this just 100Xed it
@codexed-i
@codexed-i 10 ай бұрын
You are awesome❗ Keep up the good work❗
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you ❗️
@gutzimmumdo4910
@gutzimmumdo4910 Жыл бұрын
very usefull information, underrated video
@WillHessGameDev
@WillHessGameDev Жыл бұрын
Glad you think so! Make sure you share it with others who you think will find it useful so it will become un-underrated!
@MaxIzrin
@MaxIzrin 10 ай бұрын
A good tip when it comes to calculating things for working with kinematics is offsetting. Don't bother calculating things in their own reference frame, do all you calculations assuming more favorable conditions (start at the origin of the axis, and move along a single axis, and not along some combination of a couple of axes). Then add the appropriate offsets to the results, this back and forth conversion may not be the most efficient, but it will help your calculation a lot. For example, having something move on a circle goes something like this: *(x₁ + x)² + (y₁ + y)² = R²* Where x₁ and y₁ are constants, the position of the circle's center. But that's a hard calculation, so we offset to 0 instead. Assume x₁ and y₁ are 0, you get a simpler equation: *x² + y² = R²* Then whatever result you get, you add the offset to that, and you're golden.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
yes that is a very good tip!
@alansmithee419
@alansmithee419 3 ай бұрын
The equation of a circle centered on the origin is x^2+y^2=R^2 x^2*y^2=R^2 gives an odd star-shape. I'm sure it has a name but I can't be bothered to look it up right now. Edit: From this the general equation is (x - x1)^2 + (y - y1)^2 = R^2 Where the centre is at (x1,y1).
@MaxIzrin
@MaxIzrin 3 ай бұрын
@@alansmithee419 Yes, my bad. I'll edit it.
@arxsh4301
@arxsh4301 3 ай бұрын
BROOOO, idk why but that was SEEXYYYYYYY No CAP but you explained some concepts in such a way where most professional teachers also fails, SEGGZYYYY
@WillHessGameDev
@WillHessGameDev 3 ай бұрын
lol thanks
@zeldinus
@zeldinus 10 ай бұрын
Great video, subed ^^
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you!!!
@frankrivera1010
@frankrivera1010 10 ай бұрын
Well done. A great tutorial.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you!
@cosmic4716
@cosmic4716 10 ай бұрын
Decided to check this video out because im learning physics by myself and sometimes coding a primitive ball physics simulator. It was really helpful, thank you. Also you're cute. Subscribed.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
No problem if you need any help just ask!
@Maksimka-vc8fw
@Maksimka-vc8fw 10 ай бұрын
Great job, appreciate it.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thanks for watching!
@kalleskit
@kalleskit 10 ай бұрын
"Leaning tower of pizza" made me lol. Superb video!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thank you!
@richardflood3058
@richardflood3058 10 ай бұрын
Great video! Thanks a lot
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Glad you liked it!
@calmhorizons
@calmhorizons 3 ай бұрын
Great video. Slight presentation tip - your Ts look like + symbols, which can get confusing. Might want to draw them with the tail t. I have the same problem with my r's and c's as I habitually curl my r a small bit at the bottom.
@WillHessGameDev
@WillHessGameDev 3 ай бұрын
The worst for me are my 2s and Zs, they always end up looking identical lol. Thanks for the advice!
@draken2037
@draken2037 10 ай бұрын
thanks brother this video is like a life saver
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
You're welcome! Thanks for watching!
@ruzgar1372
@ruzgar1372 10 ай бұрын
I can't express just how important this video is for an aspiring game developer who kinda slept through his physics classes ngl.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Glad it helped!
@SpringySpring04
@SpringySpring04 7 ай бұрын
I learned more from this video than I did in 9 weeks of college Physics (currently, as of writing this comment, we started going over momentum and impulse forces, but neither me nor any of my classmates understood anything in the class before this point, lol)
@WillHessGameDev
@WillHessGameDev 7 ай бұрын
Glad I could help!!!
@CosmoSock1
@CosmoSock1 8 ай бұрын
I’m going to be honest. When I heard your voice, i thought this was going to be another uniformed, amateur game dev video by some teenager. But I was completely wrong, you absolutely killed it! Great info, succinctly explained. Great job!
@WillHessGameDev
@WillHessGameDev 8 ай бұрын
Thanks! I appreciate it!
@0xF81
@0xF81 10 ай бұрын
42:15 "zero equals one" and that huh sound with "?" symbol 😂😂 funny haha, and overall great video, thanks a lot for making it! ❤
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
No problem! Thanks for watching!
@alansmithee419
@alansmithee419 3 ай бұрын
38:30 My guess as to why this happens would be that when unity detects the collision of the ball hitting the surface it bounces from, because the ball's position and velocity are updated discretely between frames, the ball's position and velocity can be updated to a point that places the ball inside the object and the collision is detected pushing the ball back up out of the object it would otherwise have entered, but the velocity is not recalculated. I.e. the ball now has as much velocity as it would have had had it continued falling a tiny distance extra into the surface of the object, but is positioned at the surface of said object. The bounce is then processed, flipping this higher velocity into the upward direction. This can happen on every bounce, gradually increasing the energy of the ball.
@pik910
@pik910 2 ай бұрын
Inaccuracies are caused by floating point error (so exact calculations are doomed to begin with) and time steps being discrete. Collision resolution behavior depends on the closing velocity of the colliding objects. I *think* at the bottom the system is more likely to lose energy because we are not using the real impact velocity but a velocity from 16 ms or so earlier. For the same reason we are always overshooting a little bit at the top, so if I am correct that is where energy is added to the system. We could relatively easy measure this for science - and it is possible that the system might get lossy instead if the variables are different - but it does not really matter since we should always be damping to make errors irrelevant. If we need a more stable system we could calculate the positions in absolutes instead of relatives (which does not really work for interactions) or see that we occasionally "correct" the values to a default or maybe have a constraint that keeps the energy consistent.
@kiyasuihito
@kiyasuihito 5 ай бұрын
This video is amazing 🎉🎉🎉 thanks
@WillHessGameDev
@WillHessGameDev 5 ай бұрын
I appreciate it!
@MooseBoys42
@MooseBoys42 10 ай бұрын
The reason a bounciness of 1.0 causes the ball to bounce higher over time is because of how collision detection works. The ball is simulated with a fixed time step, and eventually it intersects the plane. When this occurs, the velocity is reversed, but its position is also "snapped" to be above the plane so it doesn't appear intersecting. This small change in position without an accompanying decrease in velocity is what adds energy to the system and causes it to bounce back higher.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Ahhh that makes a lot of sense, thanks for clearing that one up for me :)
@JenrikkuAlt
@JenrikkuAlt 10 ай бұрын
As a curiosity more than a correction, gravity decreases slightly the higher you are from earth's surface. Gravity is partially defined by the distance between the center of 2 objects but since earth's radius is very large we can discard any height (distance from earth's surface) and say that gravity is 9.8 mostly always when working with relatively small units.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Very true. g = GM/R^2 where G is the gravitational constant and R is the distance to earths center, and mass is the mass of earth. Plugging stuff in at sea level I believe is where the 9.8 comes from!
@JenrikkuAlt
@JenrikkuAlt 10 ай бұрын
@@WillHessGameDev It is indeed!
@kizlso
@kizlso 4 ай бұрын
I gave up on physics in highschool since our teacher wasn't qualified to even teach. This video is honestly so helpful.
@WillHessGameDev
@WillHessGameDev 4 ай бұрын
Glad it was helpful!
@LordBeef
@LordBeef 10 ай бұрын
Great video! One minor mistake is saying that -9.8m/s^2 is g. g is 9.8 m/s^2, so -9.8m/s^2 is -g.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thanks for the correction! I always mess up with that one lol.
@davidmurphy563
@davidmurphy563 10 ай бұрын
This has to be the pettiest correction ever... When people say g = -9.8m/s/s, it's beyond obvious that it's in reference to the 2nd derivative of displacement relative to the normal of the surface of the Earth in the Newtonian paradigm; ie. falling. The negation is clearly using the reference frame of someone stood on the surface of the Earth for the scalar; a very human perspective. So unless the usage is a constants library for onboard interplanetary exploration navigation software then there's no reason not to glance at it, understand what's meant and roll with it.
@LordBeef
@LordBeef 9 ай бұрын
@@davidmurphy563 I know what's meant, but it is something my physics professor would mark us down on. For a video about correcting common mistakes in game physics, I figured it was worth mentioning that g is an unsigned value.. I did say it was minor, after all.
@Whaddif_
@Whaddif_ 10 ай бұрын
it might help someone, so i’ll mention it. velocity is speed AND direction, whereas speed does not regard direction
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Precisely speed is the scalar and velocity is the vector. Speed is also the magnitude of velocity. Thanks for putting this up because I think I just said they were similar in the video and didn’t elaborate oops 🤦‍♂️
@TheZenytram
@TheZenytram 10 ай бұрын
you know what is funny, only in english :)
@daka.notatp
@daka.notatp 10 ай бұрын
19 minutes in and my brain is fried. i'll come back tomorrow
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Physics is a tricky subject and can get confusing fast. Here is some (not very good) words of encouragement my physics teacher would say, “all physics is, is F=ma, and everything else comes from that”
@imacmill
@imacmill 10 ай бұрын
Probably mentioned in the comments, and maybe something you clarified somewhere deeper into the video, but acceleration is more correctly defined as a change in velocity and/or direction. So you could be traveling at constant velocity in a circle (constant angular velocity), but you are accelerating.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Yes that is 100% true, but I don’t think anything was incorrect about my definition. I believe I defined it as the change in velocity over the change in time. Velocity is a vector quantity so it has both direction and magnitude. I’m the case where the object is traveling in a straight line, direction stays constant and the magnitude changes, but in a circular path, an object traveling with a constant speed will accelerate towards the center of the circle. This is called centripetal acceleration and is a whole other topic I didn’t mention in the video, but the tldr of circular motion is that a=v^2/r. If I said acceleration was the change in speed over the change in time, then that would be wrong because it defies circular motion. I thought all of this stuff was too confusing to discuss in the video and make people click off because they were too confused, but yeah.
@imacmill
@imacmill 10 ай бұрын
@@WillHessGameDev Apologies, you are correct.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Lol no need to apologize, you are also correct. The beauty of physics is that there are some things that are just needlessly confusing where we can be talking about the same thing and not even realize lol
@ekopratomo95
@ekopratomo95 10 ай бұрын
Drag should be proportional to velocity squared. The drag equation clearly states v^2.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
I 100% agree with you on that and I have no idea why it isn’t. My physics textbook used that equation with -bv as an equation for any “resistive force”. They just said it was air resistance, which confused me because I knew there was this long formula for it. I was messing around with reading velocity data for different falling objects in unity and low and behold they use this dumbed down version of drag too! Idk why it can’t be dumbed down but keep the square…
@ekopratomo95
@ekopratomo95 10 ай бұрын
@@WillHessGameDev Perhaps what they mean is rolling resistance or friction based resistance, they scale linearly with velocity.
@theashbot4097
@theashbot4097 10 ай бұрын
I am been trying to make a simple version of unity physics (because I do not need all the realistic stuff). I did not realize that physics is that complicated.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
It is just a LOT of math. If you don’t mind me asking, is the “simple version” in unity? Or is it like a separate physics engine? I say that because if you are trying to make a simple physics engine you have one very hard topic to learn, collision detection and coming up with a good algorithm for that. If you were talking about just using physics in unity to make stuff move around, I’ll give you the TLDR. - use fixed update for forces that act over time - use forceMode.Impulse for forces that happen instantly (or if you aren’t concerned about realistic-ness you can use forceMode.velocityChange) -change an object’s mass to make it more or less “influenced” by the force you act on it Hope that helped and feel free to ask any questions!
@theashbot4097
@theashbot4097 10 ай бұрын
@@WillHessGameDev I am gust trying to make a light weight version of the unity physics. All the "physics" that my "physics engine" will have is Gravity, Collision Detection (Using unity colliders, and Physics.Overlap____), ground checking, fake velocity, fake drag, slopes. the drag, and velocity is even more simple then what you explained in the video.
@theashbot4097
@theashbot4097 10 ай бұрын
I amm planning on adding force when colliding with things though.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Cool, well if you get stuck feel free to reach out!
@averagegamer9513
@averagegamer9513 10 ай бұрын
Correct me if I am wrong, but I think your saying of “the force that counters gravity” is a bit misleading... The definition of a normal vector is one that is perpendicular to a surface, which I think is fairly descriptive. On the other hand, what you are describing seems more like the positive y component of a force vector, which in general is not the same as a normal vector. Other than that, this is a great video, and I’ll be following along to integrate physics into Unity. Thanks! Edit: I noticed you misspelled “braking”, lol.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
I totally agree that the actual definition of the normal force is more accurate, but I feel like a lot of complete beginners would start freaking out if I said something more technical like perpendicular to the surface. That is definitely a better definition if you know how vectors work, but with friction on a flat surface, referring to a normal force as the force that counters gravity is sufficient in my opinion. But yeah it is a little misleading when talking about normal forces and normal vectors in general, because they don’t necessarily have to be caused by gravity in the first place. Thanks for watching and leaving the little correction!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Lol I am terrible at spelling so to only have 1 noticed spelling error isn’t too bad!
@RitterderRedlichkeit
@RitterderRedlichkeit 7 ай бұрын
very good but I wish you would have talked about verlet RK4 and Triangle collisions
@WillHessGameDev
@WillHessGameDev 7 ай бұрын
Thanks for watching. I'm gonna be honest IDK what that stuff is so that's why it wasn't in the vid
@Carhill
@Carhill 10 ай бұрын
Big shout-out to Galileo and his balls.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Exactly people always credit Galileo but they forget to credit his balls too! Justice for Galileo’s balls!
@chizuru1999
@chizuru1999 10 ай бұрын
Although I liked the video just into it a few minutes, but you deserved a sub for the Galileo and his balls jokd 🤣🤣. I for sure know the video is gonna be great.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thanks for subscribing!
@theashbot4097
@theashbot4097 10 ай бұрын
38:20 you said you do not know why the dark green ball bounces higher the more it bounces. I THINK the reason why is the gravity will make the force at which it is moving down more so then it will bounce higher.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Idk if I understand you theory completely, but it sounds like you are saying that the force being exerted on the ball is higher when it is closer to the ground. I know that’s how our brains like to think of it because the ball is moving faster so there should be more force, but remember that force is related to acceleration and not velocity, so the force gravity exerts on the ball doesn’t change! A bounciness of 1 should be a collision where no energy is lost, so if we do a bunch of math and cancel terms, we would get that, but computers don’t think like that. They just plug stuff into an equation and compute the answer which could lead to rounding errors if they used a velocity that wasn’t perfectly accurate. That’s my current theory, and something I would blame all of my slight inconsistencies whenever doing physics, rounding errors lol. I have no definitive proof that this actually is the reason though…
@theashbot4097
@theashbot4097 7 ай бұрын
​@@WillHessGameDevI have thought more about this. I THINK that the reason for it bouncing higher is the force in applied for going down but only a fraction of that force is needed to hit the ground. then Unity makes it bounce at it's full power including the fraction that was not needed to make it hit the ground. which would explain why it only bounces a fraction more every time. but I could be wrong.
@PlanetJeroen
@PlanetJeroen 10 ай бұрын
fuck me .. either I wasnt ready, or my teacher wasnt, way back when I was in school. Thanks for this easy to understand explainer.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
No problem! Thanks for watching!
@popsters_
@popsters_ 10 ай бұрын
upthrust could also be something nice to add if you do anything like this again
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Good to know!
@apolos7851
@apolos7851 10 ай бұрын
At 16:12, I don't understand why that angle is 90 - theta and the adjacent angle is theta. And at 16:25, the normal force is equal to mg.cos(theta). Do you have any videos that can explain these concepts? (sorry for my english if u didn't understand.)
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
kzfaq.info/get/bejne/q8yXjJVknLOZe4U.html this guy is really good and he answers your question in the first 3 minutes of the video!
@irishbruse
@irishbruse 10 ай бұрын
Dude sounds like Michael Reeves if he hit puberty
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thanks… I think…
@user-kx6hg6ot1i
@user-kx6hg6ot1i 6 ай бұрын
would you recommend any books because I want to learn more about these topics
@WillHessGameDev
@WillHessGameDev 6 ай бұрын
I leaned physics from an ap physics class in high school. We used the serway jewett 9th edition I believe but I wouldn’t recommend that one just because of the sheer amount of other stuff in there. It’s really good but if you are just into the Newtonian mechanics (what this video was about) then getting that textbook is crazy overkill because it goes into electromagnetism, thermodynamics relativity and probably other parts of physics that I’m forgetting about. It’s also calculus based which if you understand the calculus involved then the concepts make much more intuitive sense but I could definitely see someone who isn’t well versed in calc getting very confused with some of the problems and explanations in that textbook. It’s really up to you but look for something with Newtonian / classical mechanics and with practice problems because doing problems is a great way to make sure you understand the concepts. Sorry I didn’t have a specific recommendation but I hope that helped!
@mogr488
@mogr488 Жыл бұрын
Recommended this video to my friends.
@WillHessGameDev
@WillHessGameDev Жыл бұрын
Thank you!!!
@animenmusic16
@animenmusic16 4 ай бұрын
I don't know anything about game development except the physics. Just wanted to ask is fluid mechanics also needed for it?
@WillHessGameDev
@WillHessGameDev 4 ай бұрын
Depends on what you are doing. Fluid mechanics aren’t something I know much about. I might be wrong about this but I think the concepts of fluid mechanics come from vector calc making everything a lot more complicated. If you are making a fluid simulation or something like that game where’s my water, then you’d probably have to know a bit of fluid mechanics but for creating stuff like oceans fluid mechanics is most likely not needed. It’s usually some sort of sine function offsetting vertices in a plane to create waves and then scrolling some normal maps, so not much real life physics. Sometimes making stuff look good enough is better than spending a long time getting things true to real life.
@animenmusic16
@animenmusic16 4 ай бұрын
@@WillHessGameDev no, you are not wrong. Concepts of vector calculas are needed for Fluid kinetics and dynamics.
@user-xy5ji1rm3t
@user-xy5ji1rm3t 6 ай бұрын
how tf did you already do so many projects although you are so young 10/10
@WillHessGameDev
@WillHessGameDev 6 ай бұрын
Thank you so much!!
@unformedvoid2223
@unformedvoid2223 6 ай бұрын
Conceptually position is not a vector. It's a point. It just so happened that both vectors and points can be represented by tuples of numbers. In fact, each vector consists of two points: a starting point and an ending point. We just omit the starting point assuming it's in origin (0,0).
@WillHessGameDev
@WillHessGameDev 6 ай бұрын
I might be wrong about this one but I’m pretty sure “displacement” is the vector, distance is the magnitude and position describes the point in space. I think…
@unformedvoid2223
@unformedvoid2223 6 ай бұрын
@@WillHessGameDev yes, displacement is a difference between final and initial positions, so it's a vector.
@accueil750
@accueil750 10 ай бұрын
I think the green box will continue sliding and the red one also will - LE
@Ell900
@Ell900 Жыл бұрын
I love physique thanks a lot
@WillHessGameDev
@WillHessGameDev Жыл бұрын
Haha me too!
@ZihadJoy
@ZihadJoy 3 ай бұрын
good thing we were taught this in high school
@ryantait8435
@ryantait8435 10 ай бұрын
If only i had this before taking ap physics
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
I mean I didn’t mention energy nor did I talk abt derivatives and integrals so idk how you’d do just with the video lol. Thanks tho!
@big-wade
@big-wade 10 ай бұрын
"Threw his balls off the leaning tower of Pizza" I don't know if you know how unbelieveably true this statement is
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Lol
@gameofpj3286
@gameofpj3286 10 ай бұрын
I'd say this video is really good when you're using a game engine. But the title is a tiiny bit misleading (in my opinion), because I thought this would be more about physics (engines) from scratch and not just using something existing. But still for what it actually is, a good video!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Thanks for the feedback. I don’t really understand the point of making a physics engine from scratch if I’m being honest. There are so many amazing tools already out there, and unless you are a massive triple a studio, I don’t see why you would need to make your own. If it was the case where you are just curious about that stuff and you are just messing around, expecting a 1 hour KZfaq video to clear it up is not very realistic. Thanks again for watching!
@juodapimpiumusikas9495
@juodapimpiumusikas9495 10 ай бұрын
4:32 wouldn't the balls hit each other before they hit the ground, since because of the ball mass of 100 000 000 kg, it would accelerate the ball of 1kg, which is ~30cm away from the heavy ball (their centers), it would accelerate at 7cm per second per second, which would mean that if they fall for atleast 2.5 seconds, the distance between them would shrink to 0. Though it still doesnt change the point that they would hit the ground at the same time, so this is kinda useless.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
I just used big numbers and small numbers to demonstrate the fact that the balls fall together. It was kinda a silly example and a dumb excuse to talk about the balls of a long dead scientist…
@maazahmedpoke
@maazahmedpoke 11 ай бұрын
now do one for graphics/lighting/rendering engine
@WillHessGameDev
@WillHessGameDev 11 ай бұрын
Hahahaha I totally would if I understood anything about that stuff. Maybe some day but not soon
@maazahmedpoke
@maazahmedpoke 11 ай бұрын
@@WillHessGameDev ill set a reminder. Really loved this video. also btw how old are you if you dont mind me asking?
@WillHessGameDev
@WillHessGameDev 11 ай бұрын
Thanks! I’m 18 btw
@masked_12
@masked_12 10 ай бұрын
"So thanks to Galileo, and his balls, we know we don't have to focus on mass"
@nash6455
@nash6455 7 күн бұрын
can you do more like this video math physics...
@WillHessGameDev
@WillHessGameDev 6 күн бұрын
Yes. I have a few other videos I want to make first but I do want to do something similar and more comprehensive than this
@Sofia-rh7ji
@Sofia-rh7ji 10 ай бұрын
With your section on Friction, while what you said is entirely accurate, I would like to point out that constant friction, despite being the most accurate representation, will often feel unresponsive for the player or anything that would be alive, which is why I will typically add other "friction" constants that scale linearly and quadratically to your velocity to make it feel more responsive to the player controller and the movement systems for other "living" entities. And while your drag section is definitely interesting, it isn't actually that computationally expensive to represent the drag much more accurately, so, while it makes sense to represent it like that for most games, I typically will make my physics systems work off of -bv^2 for acceleration because it drives me crazy when I know that I implemented something innaccurately. Also, if you're implementing your own collision processing, it's actually a lot simpler than you would think, with varying elasticity essentially just being an interpolation between perfectly elastic, and completely inelastic collision. Completely inelastic collision can just be represented as taking the total momentum and dividing it by total mass to get the mass of both objects, and, though slightly more complicated, perfectly elastic collision can be simplified down to a few rules and isn't too hard to implement, even in 3 dimensions. And one thing which I think you should have mentioned would be the way in which rotational velocity is represented, because too many times I have seen friends directly modify the rotational velocity and get really weird results. So, for people interested in directly modifying rotation velocity, know that the direction of the vector represents the axis that it spins about, ie. a rotational velocity of would rotate about the x-axis, and the magnitude represents speed, so a rotational velocity would spin twice as fast. Importantly, however, this DOES NOT mean that a rotational velocity of would spin about the y-axis and x-axis simultaneously, instead, it would rotate between the two axes, which is how you can get weird gyroscopic procession when you mess with the rotational velocity vector directly. For those confused with how this works, I would personally recommend just interacting with whatever is equivalent to the AddTorque method in whatever physics engine you use.
@Sofia-rh7ji
@Sofia-rh7ji 10 ай бұрын
By the way, if you have rotation, it doesn't actually make the collision system that much more complicated, and, for a temporary fix immediately after implementing rotation to your physics engine, you can just take the velocity deltas and use those to find the impulses, and then apply them locally so that you can process those in whatever function you have to process forces that aren't in-line with the center of mass. Keyword here for this method is "temporary," though, as this is not accurate, and can make inelastic collision seem more elastic than it is.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Wow that was very insightful! Thank you for leaving this. The thing with drag is that the -bv is how unity handles it and coding my own solution and explaining it in the video would definitely turn some people off so I decided to stick with how unity did it!
@riske4359
@riske4359 9 ай бұрын
nice video, how old are you btw ?
@WillHessGameDev
@WillHessGameDev 9 ай бұрын
Thanks! I’m 18
@riske4359
@riske4359 9 ай бұрын
@@WillHessGameDev ofc in school but, where did you learn all these things( how to create video games etc)? book? formation ?
@WillHessGameDev
@WillHessGameDev 9 ай бұрын
I learned to program in java when I was probably like 11. It wasn't learning to program but rather more along the lines of copying code. It took a while but I eventually figured out how to do it myself. I also took a bit learning javascript, which I used a website called treehouse for. That's the only paid learning thing I did that I would recommend for programming. When I was like 15 I wanted to get more serious about it, so I wanted to get unity. Long story short I had to build a computer to install it, and then I just kinda practiced learning stuff on my own and through youtube tutorials. I would recommend Clean Code and the art of game design as books. I'm not a big book person but those ones were good. The physics knowledge came from school :)
@riske4359
@riske4359 9 ай бұрын
@@WillHessGameDev very interesting thanks !
@WillHessGameDev
@WillHessGameDev 9 ай бұрын
No problem!
@jinchoung
@jinchoung 10 ай бұрын
hey do you have any insight into why most physics simulations - whether it's unreal, unity, blender, maya or houdini look FLOATY and slow motion when proper values are used for stuff like mass and gravity? like EVERY hard body collision demo - even your examples (sorry) - i swear it all looks slow and wrong and there's got to be some overarching reason why that is.....
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
In real life, nothing is actually a rigid body. A rigid body is just a convenient way to better understand what we want to understand. When things collide they squish and there’s this thing called the coefficient or restitution (I think (I am not an expert on this part)) that comes into play. This little bit of real life stuff makes the calculations needlessly complex. Also in the simulation everything happens instantly. What I mean by that is that if two objects collide, their momentums will instantly change, and in real life that is impossible (stuff just happens very quickly). That’s my best guess but idk if it is what’s actually going on.
@jinchoung
@jinchoung 10 ай бұрын
@@WillHessGameDev i don't think those would result in the movement looking slower though. if anything, those factors would result in simulations looking FASTER. but in almost everything with real world values entered, simulations end up looking slow mo - in your example, the body getting hit by impulse doesn't fall as fast as a real world body would. in order to get a sack of potatoes to drop like a sack of potatoes in a sim, i have to jack up either the mass or the gravity to several orders of magnitude higher in order for it to look right. this has bugged me for as long as i've been doing cgi and i want answers! but thanks for fielding the question. the search continues.
@user-sl6gn1ss8p
@user-sl6gn1ss8p 10 ай бұрын
@@jinchoung I think the falling thing is more down to perception. Even as Super Mario Bros on the NES used a higher "gravity" for the falling phase of a jump, to look and feel tighter. There's no reason a free fall would actually be slower in a (decent) simulation, so long as sizes, distances and acceleration are consistent. What I mean is, if you put a ruler and a clock in your virtual world and measure the fall, it should match the real thing very well (so long as drag and stuff is minimal). So the difference is more perceptual, maybe because of how we translate images and sizes on images vs on the screen or something. Also, in games we often want thing to go up way higher than they normally would, but we don't necessarily want them to take that much longer to fall, so there's all that I guess?
@DNModular
@DNModular 10 ай бұрын
Now I know what a 4 says!
@refactoringg
@refactoringg Ай бұрын
I’m watching this because I’m making a game engine
@wj11jam78
@wj11jam78 10 ай бұрын
personally, I start by setting a few parameters, creating a dense ball of game objects, and allowing them to expand rapidly. Then I just wait a few billion years, and I get a free physics engine.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
That’s a pretty good idea, keep me posted in a few billion years to see how it turns out!
@borbenmli5353
@borbenmli5353 4 ай бұрын
"60% of this unity does for you so thats cool" mfer me trying to build collision detection and hitbox rotation aswell from scratch
@debalinabose2546
@debalinabose2546 6 ай бұрын
Which book should I read ?
@WillHessGameDev
@WillHessGameDev 6 ай бұрын
Sorry, What do you mean by that?
@debalinabose2546
@debalinabose2546 6 ай бұрын
@@WillHessGameDev which book is good for physics for game developers
@WillHessGameDev
@WillHessGameDev 6 ай бұрын
I don’t know if there are any physics books designed for game developers but the physics textbook I had was the serway Jewett 9th edition I believe. Its very good but again it’s just physics and has nothing to do with game dev. If the game engines physics system is accurate to the real world it will be very applicable otherwise not so much. Oh and the serway Jewett book also goes into electromagnetism which is not needed for game dev at all unless you are trying to accurately code in magnetic fields and stuff like that. So maybe consider finding another book solely on the mechanics of books are your thing.
@precumming
@precumming 10 ай бұрын
I don’t know if it’s mentioned in the video as I haven’t finished it, but my favourite way to do physics only requires saving a velocity vector and simply multiplying that by a float that is in the order of `pow(0.99, MSPT)` every frame after velocities have been updated, as it will cap the velocity to a certain amount with a given acceleration. It also makes everything smooth and it’s really easy to change friction by changing the 0.99 into 0.999 for ice or 0.95 for more friction. You can also change the friction based on direction of travel. For my game that I’m working on all accelerations work the same, it doesn’t matter if you’re on ice you know that if you start moving now and move 5 blocks right you’ll be at the same velocity as normal, having ice be slower acceleration is possible but I don't feel there's enough of a benefit. The difference is when it comes to deceleration, changes happen when you either release controls or when changing direction (changing direction has higher drag allowing for quicker changes) The movement feels amazing and fluid. Multiplying by a float less than 1 simulates air resistance without doing anything complicated and actually dealing with forces
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
That’s pretty big brain. To me it seems like a classic game dev solution of doing stuff that makes it feel like real life without being 100% accurate, and there is nothing wrong with that at all. This video was more designed as a physics primer and explain a bunch of physics concepts that would be useful to know when making games and how you can use them. So no, I did not cover any of that in the video, but good on you for finding a cheeky work around for all this silly real life math I’m doing lol!
@colonthree
@colonthree 10 ай бұрын
This sounds like a Verlet integration?
@diegofloor
@diegofloor 10 ай бұрын
I want to nitpick just the title and the premise. The video itself is pretty cool! well explained and edited. But this is not an ultimate guide for physics in videogames. This is a very superficial overview of basic physics and the Unity physics system.
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Point taken, but I feel like it wouldn’t perform as well if I titled it “a very superficial overview of basic physics and the unity physics system”. Part of KZfaq is to make clickable titles / thumbnails without click baiting, so my apologies if you thought it was more on the click baity side
@mathematicalmachinery7934
@mathematicalmachinery7934 10 ай бұрын
38:13 floating point error
@mathematicalmachinery7934
@mathematicalmachinery7934 10 ай бұрын
It’s the same reason that 0.1+0.2=0.30000000004. I used to have to deal with this all the time
@mathematicalmachinery7934
@mathematicalmachinery7934 10 ай бұрын
To be more precise, what happens is the ball will go lower than the platform, then be snapped back up just a bit to correct for that floating point error, which adds a bit of energy. Specifically mgh, where m is the mass of the object, g is the local gravitational force, and h is the amount that got snapped back up.
@mathematicalmachinery7934
@mathematicalmachinery7934 10 ай бұрын
What I usually do to fix this is either a) ignore it b) calculate the added gravitational potential energy and remove it from the kinetic energy
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Ohhhh yeah I forgot about that one. Thanks for clarifying!
@perjonsson1933
@perjonsson1933 6 ай бұрын
thanks to Galileo and his balls. Lol
@keokawasaki7833
@keokawasaki7833 10 ай бұрын
respect for galileo's balls
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Indubitably
@Dev.K.Patel_19-June
@Dev.K.Patel_19-June Күн бұрын
Galileo and his balls😂
@stalkerfromvoronezh4493
@stalkerfromvoronezh4493 10 ай бұрын
Mass needs for aerodynamics calculations. Because friction in real world non zero =))).
@jakubjakubowski944
@jakubjakubowski944 10 ай бұрын
This video is great presentation of how buggy unity physx is xD
@lesto12321
@lesto12321 10 ай бұрын
"leaning tower of pizza" not sure if mistake or trolling....
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
I was just trolling
@nicolasbertozzo2997
@nicolasbertozzo2997 10 ай бұрын
4:23
@Haavi57
@Haavi57 3 ай бұрын
13:12
@Christobanistan
@Christobanistan 10 ай бұрын
hi!
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
Hello!
@nickrounsville
@nickrounsville 10 ай бұрын
Math in game development = But does it feel fun?
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
It do be like that
@GesteromTV
@GesteromTV 10 ай бұрын
Be honest you wanted to recap high school physics using unity
@WillHessGameDev
@WillHessGameDev 10 ай бұрын
I mean only the good parts. Notice how the word energy was only mentioned once or twice, and I don’t think I even said work, or power. And frankly I feel like those parts of physics didn’t really connect to game dev as much as the parts I covered in the video.
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 28 М.
Не пей газировку у мамы в машине
00:28
Даша Боровик
Рет қаралды 10 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 51 МЛН
The Future of Game Development
8:58
Brackeys
Рет қаралды 1 МЛН
Is Unity C# better than UE5 Blueprints?
6:19
Overload
Рет қаралды 4,1 М.
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 462 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 183 М.
I'm Coding an Entire Physics Engine from Scratch
9:19
Gonkee
Рет қаралды 1,6 МЛН
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 773 М.
This Problem Changes Your Perspective On Game Dev
25:51
Jonas Tyroller
Рет қаралды 328 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,3 МЛН
Coding Adventure: Simulating Fluids
47:52
Sebastian Lague
Рет қаралды 1,6 МЛН
Не пей газировку у мамы в машине
00:28
Даша Боровик
Рет қаралды 10 МЛН