I would like to recreate something similar to this video:
I scoured the devforum and DID find a couple 4D shape tutorials however I would rather not use a tutorial, but if this is a 4D shape system then I will almost certainly have to as I don’t know enough geometry to be able to piece together a system for it.
I would like some help trying to figure out how this has been done, as it is implemented only once in this game, and was made in a week so I doubt it is extremely complex, but I am struggling to create this
There is little to no tutorials/documentation on editable meshes and it is nigh impossible to make them work, just trying to do something simple and ive hit a roadblock because my mesh has fixedsize = true, and theres nothing i can do about it because its a read only value. If you know of any places i can learn how to use them that would be great
from what i can tell this is not an editable mesh, rather a shape made with a triangle algorithm
as for the 4d geometry, i’m not so sure if you want to make “real” 4d geometry or a faked one? the one in the video seems like a pseudo-4d shape where the points all rotate like cubes in different directions while being scaled up and down.
for “real” 4d geometry (i say in quotes, you’ll see why soon) the general concept is that because the layman cannot actually comprehend 4d geometry (since we are lowly 3d beings) we need to compromise and make a 3d slice of this 4d world. again, your question is a little ambiguous, so please let me know more and i can help further
I understand about 4D being a slice of an actual 4D shape, however what I want is your pseudo-4d shape, I looked over some of the code samples for “real” 4D shapes and lets just say about 90% of the maths went way over my head. Any help making the pseudo shape would be really appreciated, ive been researching editable meshes and they are about the most irritating thing ive ever had to work with on roblox
yeah, im not surprised, 4d is pretty hard to grasp. so the pseudo-4d shape it is.
basically you first need a function which creates a triangle out of wedges, you can find these on the devforum.
then you need to create what’s known as a convex hull function using that triangle function. this takes a set of points and creates a closed, convex shape around all the points of the outside. (convex means essentially with no indents - a square, for example, is convex, but a star is not).
and then you just need to generate the points - from the video it looks like a bunch of cubes that are being scaled and rotated. not too difficult to make.
uh, sorry, normally i’d make some pseudocode or something to illustrate, but i don’t feel like it today. i’m tired. but those steps should get something similar to what is in the clip you sent.
This is exactly what i was looking for thank you, however some sort of pseudo code would be really welcome if you feel up to it in the future, just to clear a few things up. Other than that really thank you