Object Scale Wierdness - anyone have any ideas?

Hey, all,

I’m using some wheel colliders in the latest thing I’m doing, and I’d set up my “vehicle physics” so it worked very well.

This was with some placeholder graphics I’d done.

Anyway - the artist starts to deliver the game graphics, and they’re all roughly about 50% of the size my text ones were when I set up the cameras etc, so I thought “OK, no problem - just adjust the scale on each of the axes to 2 instead of 1”.

Thought nothing of it after that, until my wheel colliders broke completely. The wheels were “vibrating” through the floor and jumping all over the place - everythign was broken!

Anyway, I tried everything - looking at my code, altering the models etc, all to try to get to the bottom of this. The LAST thing I tried was to put the vehicle back to it’s original (1,1,1) scale settings, and now everythign works perfectly…!

Besides being more than a bit weird, this also is a bit of a nightmare, as adjusting scale in this way makes art production much easier, so what is the deal here, and is there any way to fix it within Unity?

Thanks!

SB

Hate to do this, but !!BUMP!! :slight_smile:

This really is a bit weird, and if nothing else, I’m just keen to understand why it happens. Anyone?

It isn’t usually a good idea to put the WheelColliders on the object that has the wheel graphics. If you’ve changed the scale of the wheel graphic and the collider is also on the same object, then it could cause problems.

I am having exactly the same problem? I set my wheel colliders up separately to my wheel graphic mesh, and the car was already scaled to 0.15 on all axis.

When I test drive the car, it does the same as S7ARBVC described, however if I set the scale to 1 for all axis for the car, all works fine?

But now my car is much larger than the rest of my models in my scene.

Any help greatly appreciated!