Fundamentals In Physics for Game development

·

2 min read

Introduction

Hello guys, For every game developer it is a dream to understand the physics in-depth to make the game more realistic, I am also one of them. so I started learning physics for my game from the fundamentals. so started to record them as articles to share them with the kind of people, also for my review purpose.

Fundamentals

Before addressing all the concepts in terms of game development we only see the topics in theory that we can eventually transfer to the code samples, knowing the fundamentals is very essential to apply them to the game.

Rigid Body

The first thing we should know in physics as beginners in game development is what is a rigid body. A rigid body is nothing but a body that will have properties like mass, type of body, gravity, and damping. we must know what these properties are to know more about the rigid body.

Mass (M)

Mass is said to be a matter in an object which will not change wherever we go, whereas weight will change according to the gravitational force acting on the object. so in games we mostly see game engines using mass over the property weight.

Body Type (Mechanics)

Mechanics are an essential part of physics that we must know, cause the rigid body acts differently according to the type that it belongs to. there are two major segments in Mechanics that are 1) Statics and 2) Dynamics.

    Statics 
   As the name suggests the statics are types of a body that will be stagnant               
   irrespective of the force that is acting on it. In games, we can see the objects like 
   walls, platforms, and ground.

    Dynamics
    again dynamics are separated into two types 1) Kinematics and 2) Kinetics.

    1 Kinematics
    Kinematics is a type that focuses on the motion of the body without regard to 
    forces acting on the body like velocity and acceleration.

    2 Kinetics
    Kinematics is a type that focuses on the motion of the body and the forces that 
    act on or otherwise affect the motion of the body. In games, we mostly use this 
    type for our lead character which will have a lot of variations in the movement of 
    the body.

Gravity (g)

Gravity is a kind of force that keeps pushing or pulling the object over time. In real-time we only see it happing in one direction but in games, you can take the advantage of it in any direction you want.

Conclusion

Here I just included the very basic fundamentals that I felt every game developer should know at least. please comment if you have any suggestions. thanks

Did you find this article valuable?

Support H5G OCEAN by becoming a sponsor. Any amount is appreciated!