😎
Rope Creator
Reply chain from #46
Not that hard, you have to:
generate a list of points that form a list of quads following the line (you can use a 2nd degree polynomial equation for that, the math is relatively easy and can be quickly found online
send that list of points to MC (you don’t have to handle that directly by using OpenGL, there is stuff in MC for that like vertexbuffers, bufferbuilder etc…
Make sure the correct shader and texture is bound, there is also functions for that
Make sure that you do the draw at the right time (during game render, not game update)
1 reply not shown · View on Discord