Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Itween path constraint with multiple vehicles at once

$
0
0
Hi there, Today I tested the example iTween path-constraint character and I have been testing around and found it very useful for my project (rail vehicles). However, I would like to know how you would have a multi-carriage vehicle where each carriage is restrained to their part of the path respectively. Is there any resources you can point me to, or advice/pointers on doing this? I guess my question is, how would you make each carriage stick to the path and not de-rail, and attach it via couplings (either realistic or just basic). The cars don't need to be able to seperate, as the scenario will be predefined, so my eight carriage vehicle just needs to move with each carriage as their respective object on the path. See image below for rail tunnel vehicle example and the path I have conjured up. I've only managed to achieve this for one carriage at a time, which it does drive really nicely with. http://i.imgur.com/9jDyRhn.png Kindest regards, Liam

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>