godotengine / godotengine/godot-docs

Manually interpolating VehicleWheel

Open
#6,689 1 comment 1 reaction 0 assignees View on GitHub
area:manual enhancement topic:physics
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

A VehicleWheel can easily push the physics interpolation of Godot 3.5 to its limits. See [this issue.](https://github.com/godotengine/godot/issues/72207) The [VehicleWheel documentation](https://docs.godotengine.org/en/stable/classes/class_vehiclewheel.html) does not mention this. Of course, not every known issue needs to be part of the docs. However, this one can occur by just having a fast car.

The documentation could explain the issue. It could also advise readers to turn off physics interpolation for affected meshes. Additionally, it could offer example code for interpolating them manually, such as:
```gdscript
func _process(_delta):
global_translation = get_parent().get_global_transform_interpolated().origin
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.