-
Help with physics joint
After years of just playing other peoples tracks I've finally decided to jump in and learn how to create my own. I'm wanting to make a skill game similar to the one in Trials HD where you had to ride inside the sphere. I've managed to glue a sphere together out of ramps and have the rider drive in it but I can't keep it from coming off the driving line if it hits bumps or a curve in the driving line. I've also tried attaching a physics joint to it but I clearly have no idea what I'm doing and I'm sure its something really simple. Any help would be much appreciated!
-
Here are 3 things to try:
> In the properties of the glue group there is a tick-box for 'Lock to Driving Line' (or similar). If that isn't working, the sphere group may have too much (or too little?) mass and tear itself away from the line.
> Since the sphere is made of multiple objects, set 'Lock to Driving Line' on all parts in the middle circle, where the bike is driving.
> If all else fails, place Collision walls on both sides of the driving line and set their Friction to 0. This will sandwich the sphere in the middle.
-
Thanks for the reply!
Yeah I've made sure everything was locked to the driving line. I've been messing with it for a few days now and I was starting to think of using walls or rails to keep everything on course but I was just hoping there was an easier was to limit movement of the Y and Z axes while keeping X relative to the driving line. I think I'm having trouble because my center of mass IS technically staying on the driving line but as soon as it gets any irregular bump it will begin to wobble, eventually tipping over in the middle of the track. Rails just seemed like a lot of extra work but I guess that's the option I'll go with for now