:thonk:
A Cable?
I want to make it 3d, but im not sure how to make it work
Like, i want to make segments connected, but there is nothing stopping segments from rotating around an axis, fucking rendering up
Like each segment will be separate but there should be a functionality that fills the gap
I cant really fill it without it looking like crap when segments roll
This can be quite easely solved by adding an intermediate ring/segment between the two ends
Ok so here is what you have described above, with each end of the cylinder being a point of the rope
BTW something like this could be done almost entirely via shaders (even the mesh generation/ring interpolation part) for massive performances gain but that would require some advanced stuff like geometry shaders, which Minecraft does not handle by default
:3dsmile:
Note that in this case using the same deformation method as earlier would still make the middle part thinner because of the way its computed, but with code you can easely fix that by just interpolating the position and rotation of each rign between the two nodes of the rope
the idea is that you can’t have an angle greater than 180 (in the twist direction) on the rope because if it goes beyond that it loops around
and with theses extra segment you go from having to handle a twist up to 180 to a twist up to 180/(number of divisions)
well you just have to see if both VS physics and server tps appreciate that
:3dsmile:
it’s just doubles the constraints needed for a rope, nothing significant
i just use rope constraints to tie everything together lmao
I like that the resident mod-wizards allow us peasants to witness the horrors of development
This conversation is on Discord · Reply there
image.png
:3dsmile:
IMG_1418.png