Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

4d and n-dimensional physics engine

Was somebody trying to implement 4d or n-dimension physics realtime (or not) engine?

What difficulties in this implementation, compare to 3d and 2d physics engines? Of course, one of which is presentation problem. Is's an interesting to look at and to find out more about 4d hyperspheres, hypercubes, springs, joints, liquids and other objects.

I am just curious, and not have a real application using it.

Generalization of my idea is physics in lobachevskian or riemann geometries, distortion spaces (you can go through the needle's eye), looped spaces (returning to the same place), physics paradoxes and other amazing things.

like image 396
Ivan Kochurkin Avatar asked Sep 19 '12 14:09

Ivan Kochurkin


2 Answers

There are numerous research groups using relativistic codes, for all sorts of physics problems; from Relativistic Electrodynamics, Relativistic Fluid Dynamics/Magnetohydrodynamics and for gravitational based simulations etc. Astrophysical applications are the main place you would meet relativistic codes.

A 4D game engine is what you already have in games like FIFA and COD. This is just a 3 + 1 implementation, which incedently is what many relativistic codes are (they use the 3 + 1 formulation of space-time). This splitting of space-time is much easier to handle computationally for many different reasons. Of course as you go from 1D to 2D etc. you complexity increases inline with the simulated physics.

To me it makes no sense to have a physics engine in n-dimensions. We do not experience physical processes in n-diemensions, but four. To ask about hypercubes etc. is not physics but geometrical/mathematical constructs. These are separate from what you would traditionally associate with a physics engine.

like image 130
MoonKnight Avatar answered Nov 18 '22 17:11

MoonKnight


An example of a 4D physics engine is 4D Toys, created by Marc ten Bosch.

enter image description here

The author goes into more detail about how it works on their blog (see this post about geometric algebra, for instance).

Their technical paper, N-Dimensional Rigid Body Dynamics, was also accepted to SIGGRAPH 2020.

I also explained a bit how angular velocity works in higher dimensions here.

like image 44
user76284 Avatar answered Nov 18 '22 17:11

user76284