Physics simulation

whats physics simulation i ve been searching about it but what i ve found is just examples like character movig ect…

1 Like

Here u go: Its just like a space game that has physics simulation and open source i will send file
Place1.rbxl (45.9 KB)

U can check the code and edit if u want

NOTE: This is only meant to be runned in studio u can play if u want with character but it will be goofy

2 Likes

“Physics simulation” is the process of calculating how parts move. In real life, physics defines, for example, how strongly gravity pulls on things, that things move over time according to their velocity, that things can collide with each other, etc. Physics simulation is just how Roblox calculates stuff like this for itself.

For example, if you place an unanchored part in the air, physics simulation is what makes it fall down from gravity, and eventually hit the floor if there is one. Physics simulation is how Roblox calculates when the part and the ground touch each other, and how to react (i.e. cause the part to stop, or bounce a bit).

If there was no physics simulation, the part would just never move on its own.

Roblox does physics simulation using something called a “physics solver”, which is what actually does all the calculations. Physics simulation refers to the calculations that the physics solver does, in order to cause physics (like movement and gravity and etc) to happen.

This is a super simplified explanation but hopefully it helps.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.