Jump to content

How to scale wheel colliders?


Recommended Posts

Here are two reference images for wheels and legs, shrunk and enlarged by writing the member localScale of the part's "model" transform:
http://imgur.com/a/cxMsU
http://imgur.com/a/PHmFS

It looks like something more needs to be done to get the wheel collider and the suspension limits right. When rolling, the rotation speed is also wrong (probably from using a wrong wheel radius). This behavior broke with the switch to unity 5 and the new wheel modules.

When using the config value "rescaleFactor" for scaling, KSP seems to do these things right. The fields mentioned in the part.cfg are all unchanged for such a wheel, and I couldn't get the physical behavior right by tweaking them.

Can anyone tell what needs to be done to bring those wheels to the right scale?

 

PS: poking around I found that ModuleWheelBase::Wheel seems to always be null (checked OnLoad and OnStart), isn't this meant to lead to the inner workings of the wheel system?

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...