- Home /
Question by
biscuitWizard · Oct 28, 2014 at 10:34 AM ·
physicsrigidbodyspritecolliders
Vertically Move WheelCollider2D without jittering
Hey there!
So to describe the issue I'm having, I have a vehicle that has two wheelcollider2Ds attached to the body and the wheels. To simulate 'turning', I have a box collider that acts as the ground underneath the vehicle, and that ground moves up or down along the Y axis. Forward motion along the x axis is done by adding to the motor in the WheelCollider2Ds.
The problem is that when the ground moves, the suspension instantly compresses to such an extent that the entire vehicle jitters and makes the whole process just seem very crude and janky. Is there a way to move the vehicle along the Y axis smoothly without the physics jumping?
Comment