This page looks best with JavaScript enabled

Exploring Rigidbody Joints and Rope Physics in Unity

 ·   ·  ☕ 1 min read

Unity has a number of different joints and other ways to connect Rigidbodies (Spring’s come to mind). We’re going to be exploring how to take advantage of those offerings in order to build a 3D physically simulated rope that we can attach to our grapple gun and eventually swing around space with. I’ve personally not spent much time with these components so this will be a fun exploration of the capabilities Unity offers for 3D Physics simulation.

This video won’t touch code. We won’t write a single line of the stuff. Instead we’re going to try to identify the best way to use Unity’s physics simulation to simulate a rope attached to an asteroid that we can swing about on. Sounds fun to me! Let’s give it a go.

Check out the code for Asteroid’s VR on GitHub: https://github.com/WorldOfZero/Jet-Warrior

Now that we’ve built this, we can start working on how to actually implement this rope swing. That implementation will be coming in the next video and it ought to be a lot of fun to explore!

Catch up with the rest of Asteroid’s VR development ▶ https://www.youtube.com/playlist?list=PLEwYhelKHmiis0r85JEW-WUCKVZ9Ju4z0

See a fun vertex shader that squishes meshes ▶ https://www.youtube.com/playlist?list=PLEwYhelKHmig3VnNBTurD98bDWR1oCRM-


Sam Wronski
WRITTEN BY
Sam Wronski
Maker of things and professional software engineer. Lets make something awesome together!