Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: wheel problem

  1. #1
    Rocketry Enthusiast
    Join Date
    Jul 2012
    Location
    Simi Valley
    Posts
    52

    wheel problem

    Hey I created two landing gears and this is the first time I created a wheel so I am not sure if I did this right. here is the picture of the wheel in unity and them in ksp.

    As you can see the wheels are not working properly, in fact the only reason my capsule is up is because of the stock gears. Also this a static landing gear so there is no animation.

  2. #2
    One problem is that your wheelCollider is sideways, the green line should be pointing downwards.

  3. #3
    Rocketry Enthusiast
    Join Date
    Jul 2012
    Location
    Simi Valley
    Posts
    52
    Okay I fixed that and it still doesn't work.

  4. #4
    I had a closer look at the image and another problem if that you've got the wheel model and wheel collider on the same object. It won't work like that as the collider is designed to stay stationary and not rotate.

    I can't see any other issues in that screenshot, can you post the config file?

    Also, what errors does the game give you related to the part or the module you're using in the output_log.txt file in the KSP_data folder?

    WheelColliders are disabled by default, so once they're the right way up any sinking to the ground is likely to be due to the module not loading far enough to enable them.

  5. #5
    Rocketry Enthusiast
    Join Date
    Jul 2012
    Location
    Simi Valley
    Posts
    52
    So the wheel collider is all by itself, just the size and location of the model? In my model there are two wheels, so should there be two different wheel colliders? Ill try that tommorrow!

  6. #6

  7. #7
    Quote Originally Posted by devogen View Post
    this might help:
    Given he's using the name suspensionParent and referred to the part as a landing gear I inferred two things:

    1) He's using the landing gear module not the rover wheel one

    2) He's already checked the stickies and seen the picture of the stock landing gear setup, hence his use of the suspensionParent name.

    @Deltafee:

    It doesn't have to be by itself but it does need to be on a separate object to the wheel model (that isn't a child of the wheel model). You need to position it at the suspension's point of maximum compression.

    I don't know if the default wheel position matters for the landing gear module or if it snaps it to the centre of the wheelCollider but to be on the safe side I would put them in the same location.

  8. #8
    Rocketry Enthusiast
    Join Date
    Jul 2012
    Location
    Simi Valley
    Posts
    52
    Yeah I am using the stock part diagram, I have the wheel Colliders separate but in the same directory as the wheel models, I am alittle lost on what you mean by the "suspension's point of maximum compression". Here is a picture of what I have done:


    here is the stock diagram i am following as well:

  9. #9
    They still appear to be the wrong way round, I can't see the line on the WheelCollider in that picture so I assume it's pointing off to the side as it was in the previous screenshot. You don't need the mesh filter on the WheelColliders.

    On the suspension, I just mean that if the wheels go up and down then they should start out as far up as possible.

  10. #10
    Rocketry Enthusiast
    Join Date
    Jul 2012
    Location
    Simi Valley
    Posts
    52
    Quote Originally Posted by EndlessWaves View Post
    They still appear to be the wrong way round, I can't see the line on the WheelCollider in that picture so I assume it's pointing off to the side as it was in the previous screenshot. You don't need the mesh filter on the WheelColliders.
    I thought you said the green arrow should be pointing down?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •