Project

General

Profile

Bug #25808

Unreliable wheel part's GroundContact value

Added by HansAcker 15 days ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Wheels
Target version:
-
Start date:
07/18/2020
% Done:

0%

Version:
Platform:
Linux, Windows
Expansion:
Core Game
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

Wheels in 1.10 appear to require more force to register ground contact than in 1.9.1. Resting on the surface is not enough to set Part.GroundContact (https://kerbalspaceprogram.com/api/class_part.html#aa9eeb5535b88befd304c641da3e42b55) to true while ModuleWheelBase's isGrounded field works as expected.

A stock game is probably not be affected as driving and steering is still possible. MechJeb's heading control currently uses GroundContact but could be changed to check isGrounded instead.

I created a crude test craft (BG DLC required) that lifts and drops a set of wheels. Some method to watch the GroundContact value is needed, for example MechJeb (Rover Autopilot -> Waypoints -> Settings -> Rover -> Traction - percentage of wheels with GroundContact) or Kerbal Object Inspector.

wheeltest.craft (88.3 KB) wheeltest.craft HansAcker, 07/18/2020 11:02 PM
wheeltest.sfs (115 KB) wheeltest.sfs HansAcker, 07/18/2020 11:02 PM

Also available in: Atom PDF