godotengine / godotengine/godot

Vehiclebody3D sliding down slope when parked

Open
#88,998 9 comments 11 reactions 0 assignees View on GitHub
bug topic:3d topic:physics
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Tested in 4.2.1 stable

### System information

Windows 10 - Godot 4.2.1 stable - compatibility

### Issue description

A Vehiclebody3D parked sideways on a slope will slide down. Depending on gravity, friction, roll influence and spring settings it will slide more or less but it will never stand still unless the gravity is 0.
It's even possible with the right combination of settings to make the vehicle slide up the slope. This is without any engine force or steering applied!

![slope demo](https://github.com/godotengine/godot/assets/25064539/e460d86e-8386-484f-9902-64ccfbb7fb36)

### Steps to reproduce

Run the demo project

### Minimal reproduction project (MRP)

[VehicleBody Slope.zip](https://github.com/godotengine/godot/files/14443066/VehicleBody.Slope.zip)

Contributor guide

Open the contributing guide

Research direction

Start by running the linked VehicleBody Slope.zip minimal reproduction project and inspect the sideways parked VehicleBody3D on a slope under the reported Godot 4.2.1 compatibility setup. Compare behavior across the gravity, friction, roll influence, and spring settings shown in the report; done means the vehicle remains parked without engine force or steering when the reproduction conditions are met.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.