Jump to content

Unity 5 Wheel Colliders going off-road


Recommended Posts

I never messed with wheels in pre 1.1 KSP, so I don't know if this is new or always existed.  If it always existed, no-one seems to discuss it.  So, onwards...

I've noticed that rovers (esp 4 wheel rovers) get stuck with no motive power when their wheels are the only parts touching the ground, but it's not the "bottom" of the wheel.  Eg;

tIsX9r5.png

While this might be a fine approximation for a track race car, it seems somewhat limiting for an off-road vehicle like a lunar rover, or any rover for that matter.

I notice in Unity, once you add the Rigid Body so you can see the wheel collider, that there's a small ball of lines drawn in at the bottom of the wheelCollider.  This seems to correspond to the part of the wheel that can drive.  See;

1IYqJL4.png

There doesn't seem to be any configurable value to change this widget.  Does anyone know what it is?  Or why only a tiny bit of the wheel is capable of producing forward force?

Thanks

Link to comment
Share on other sites

Unexplained widget appears to be the "Force App Point Distance".  From what I can find out, it is the point at which the wheel's forces apply to the rest of the vehicle.  But, changing it doesn't effect the "wheels only drive when surface contact is directly in line with suspension" issue.

Judging from discussion going on in the Kerbal Foundries wheels posts, I'm inclined to think this is a limitation imposed by physx and it's gross oversimplification of wheels. 

Link to comment
Share on other sites

I don't think that bit is implemented in KSP wheel modules, at least not far as I can tell from looking in the modules... I been thinking of using wheelBogey module as a poor man's way to orient the wheelCollider to the ground. haven't gotten around to trying it though.

 

Edited by nli2work
Link to comment
Share on other sites

2 minutes ago, nli2work said:

I don't think that bit is implemented in KSP wheel modules, at least not far as I can tell from looking in the modules... I been thinking of using wheelBogey module as a poor man's way to orient the wheelCollider to the ground. haven't gotten around to trying it though.

 

Yep, looks like.  It makes going off-road (aka, all of KSP rovering) a bit tricky.  <Nerd-rage>  Oh well.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...