This man is gonna invent the next quantum computer, damn this is impressive!
I would love to see you (or someone else) do a take on non-euclidean geometry and space where triangles can have 3x 90-degree angles and where you can fit 5 rooms in a 2x2 square grid.
Wow this is not bad at all. Though it would be fun if you can make non-euclidean games? Can we? Say like super liminal? I think that would be super cool seeing a game like Super Liminal (I think its called) on Roblox. Also may I ask how you were able to achieve this?
Each 4d mesh is stored as a collection (table) of points (Vector4), edges, and tetrahedrons. The tetrahedrons define the “hyper-surface” of the meshes the same way triangles define the surface of a 3-dimensional mesh.
CFrame4’s work the same way normal cframes do (except in 4-dimensions) and are 5x5 matrices with a 4x4 rotational component and a 4x1 positional component. Vector4’s are also just vectors but with 4 coordinates (x, y, z, w).
Drawing the cross-section is the same as drawing the cross-section of every tetrahedron, and that is done by calculating intersection points (with our 3d world) and then drawing either nothing, triangles, or quadrilaterals from the resulting “slice”.
I’ve attached a full(er) explanation here 4D renderer.pdf (33.4 KB)
and here
in 4d is it a Quinernion rather than a Quaternion??? but yeah v cool.
Tho i would say im not sure how fun 4d games are, defintly could fall into the confusing no fun category…if your thinking games you probs want to keep it very simple. maybe a point and click type game in a small environment so people dont get lost or maybe a rail shooter, so the player doesnt have to manually move through the dimensions??
Either way awesome work… be cool to see what it turns into
I use matrices rather than quaternions (iirc you need two quaternions to encode 4d orientation). Quaternions themselves are 4-dimensional, but are better for representing 3-dimensional rotations. They only have equivalents in dimensions which are powers of 2 (1, 2, 4, 8, etc) so quinernions don’t exist. If you are interested, you can look into hypercomplex numbers and multivectors which are similar concepts and do extend to arbitrary dimensions. I did consider using those (hypercomplex/multivectors) because of their intuitive nature when it comes to angular velocity but decided against it.
I am sure not as it would not be just for us to just take their creation for free while they worked so hard on making a 4d engine. 4d calculations are certainly not easy.
Your game is unplayable in my country, likely due to lootboxes and stuff.
You gotta disable those in certain regions if you want people to be able to play the game.