- Home /
Wheel colliders take 0 force to compress, decompress instantly
I made a pretty simple tank using 6 wheel colliders. It controls pretty well after I tweaked the friction settings, but now I'm having a problem with how the suspension compresses and decompresses. When the suspension compresses, it takes 0 force to do this. The wheel instantly jumps to its new position with no effect on the vehicle. Similarly, when dropping off a ledge, it will instantly snap back to its fully extended state in a single frame.
Combined with some interesting terrain, the tank thinks it's rolling backwards downhill when obviously it shouldn't be behaving this way. To be clear I'm not pressing backwards here, it's rolling backwards and even accelerating backwards all by itself.
https://dl.dropboxusercontent.com/u/682625/ShareX/2016/10/2016-10-27_18-25-25.mp4
Is there any way to tweak this or prevent this from happening? I think most of the problem is that the wheel doesn't "exist," it's just a raycast in this case. As soon as a higher step appears it assumes it's already on top of that, the wheel doesn't have to roll up that part so it gets to ascend the steep side of this obstacle for free. I have a feeling that this can't be solved with wheel colliders.
Your answer
Follow this Question
Related Questions
Character Controller Pushes Car With Wheel Colliders? 0 Answers
Vehicle using a wheel collider wont point in the direction of movement 0 Answers
Do wheel colliders account for wheel width? 1 Answer
WheelCollider not calling OnTriggerEnter() of a BoxCollider trigger. 0 Answers
Truck-Trailer Hinge Joint 0 Answers