Using Configurable Joints to Make Train Couplers in Unity

preview_player
Показать описание
Hey Everyone! Here's a quick tutorial on how to setup configurable joints in such a way to make them act like train couplers. I hope you find it helpful!

This is a follow up to a video on making physics based spline movement where I also implemented a train, but the joints in that video were pretty atrocious. Do these joints instead, they are much better. The physics stuff in that video was pretty solid though and that's the foundation I'm using here. Please ignore the poor production quality of that video if you do watch it, each one is getting better :)

If you'd like to support me making these videos, this is a great place to do so :)

Timestamps:
0:00 - Intro
0:43 - Joint Requirements
1:59 - Joint Setup

GitHub Repository:

Join our Discord Server!

Wishlist our game RUIN!

Music Credit:
Licensed under Creative Commons: By Attribution 4.0 License
Рекомендации по теме
Комментарии
Автор

I watched that original video with amazement on how you would trust rigidbodies to work properly as joints on their own, and this video is a great relief in that I now know I wasn't losing my mind when I thought about the joint components in the original video. I've been experimenting with all the types of joints for a VR game recently and I can't explain how nice it feels to see someone else use it for an actual usecase and not just a tutorial with no motivated use case.

mikkelens
Автор

Hey I reference the original rigidbody splines video often. For VR this kind of movement is very important. Didn't know there was a followup! Very cool

TrentSterling
Автор

Thanks for giving us an update. I used your first vid to help me setup my train. I really appreciated your help.

leedavis
Автор

these are so good man thanks for sharing

brianwilson
Автор

Hey, nice video, thanks. I wonder if you plan to build in the option to couple and decouple the cars during runtime. If so, I would be super interested in how you do this

mariegrasmeier
Автор

Hello,
Greate tutorial.
I have question about cart.
Do you add script for cart movement?
I have made similar connection, but my cart do not move without script and with script do not turn according joint.

bogumiwyrwa
Автор

thank you for this, will u be corver/Know any resorces regarding spline junctions?

Binoxo
Автор

i got a question is it possible to make them detach?

sohjingkaisean
Автор

Bro make mobile ui for railroad v3 assets train controller Please 🙏

stzyotuber
Автор

Nice content! But please make the volume up and less local vocal fry, I just hear

HansPeter-gxew
Автор

didnt consult me about trains, didnt learn

moneymine