WheelCollider when vehicle has articulated steering

Hi

I’ve tried the wheel colliders in a few setups where the steerAngle is used to handle steering. But I’ve failed in setting up an articulated vehicle where wheel is fixed but the entire axis /chassis part rotate instead.

I’ve tried two rigid bodies linked with a hinge joint and then wheel colliders only driving on them both, not succeeded with that approach yet.

Anyone else have better approach/idea?

That’s the correct approach. I’ve set up a few vehicles like that. I’ve used a CustomizableJoint instead of a HingeJoint, but the later is just an use case of the generic CustomizableJoint.

However, I’m not sure if/how standard WheelCollider components will work with that setup. This is an use case the designers of the wheel component never had into consideration. In the above example I’m using WheelCollider components for suspension only, with tire frictions and wheel rotations handled via custom code (Vehicle Physics Pro).

1 Like

Ok, thanks for letting me know! I’ll continue on that track then and perhaps checkout Vehicle Physics pro!

1 Like

Hi again

I was just about to try the VPP and set this up for a test, but coulnd’t find the VPVehicleJoint mentioned in the documentation. Is it not included in the community edition?

Would a similar setup be possible in Edy’s Vehicle Physics too btw?

Found answer to my first question now, that VPVehicleJoint is not included in the community Edition.

No, it wouldn’t. In EVP all wheels expect to be attached to the same Rigidbody, so they wouldn’t handle the motion of the articulation properly.

1 Like