Hi guys!
I’m trying to replicate this game mechanic. And I got stuck at making the pipe like the video below:
I spent a week of researching with no results.
Anyone please help me. Thank you!
Hi guys!
I’m trying to replicate this game mechanic. And I got stuck at making the pipe like the video below:
I spent a week of researching with no results.
Anyone please help me. Thank you!
Unity support this type of Physics Physics Joints in Unity 2D | Kodeco.
And if trying in code used these scripts are used GitHub - thammin/unity-spring: A minimal spring physics library for Unity.
Thanks for you replying. How about the mesh of pipe?
In the video, the pipe seems using one mesh only
Probably a line renderer and a bezier curve as its positions. Or a piecewiese bezier curve. Anyhow, try to replicate this with some rigidbodies that give you the position and rotation of the control points of a curve.
I used this tutorial for bezier curves and found it very good: