How can I get the rpm of my car?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gangster53 YT

Hello. I’m not very professional at Godot. So I managed to get the speed of my car in my game, but I don’t know how to find the rpm of my car.
I used “VehicleBody” for my vehicle and “VehicleWheel” for the wheels. I will be glad if you help me. Thanks in advance.

Merhabalar. Godot’ta çok profesyonel değilim. O yüzden oyunumda arabamın hızını almayı başardım fakat aracımın rpm sini nasıl bulacağımı bilmiyorum.
Aracım için “VehicleBody” kullandım ve tekerlekler için de “VehicleWheel”. Yardım ederseniz sevinirim. Şimdiden teşekkürler.

Presumably you mean the rpm of the wheels? If so, calc the distance travelled over time, and divide it by the circumference of the wheels.

SteveSmith | 2022-09-29 11:50

I mean distance traveled in time. Do you mean the speed of the car? If so, I found my tool’s speed by doing linear_velocity.lenght().

Gangster53 YT | 2022-09-30 17:02

I did as you said but to no avail.

Gangster53 YT | 2022-09-30 17:12

Actually, I want to learn the revolution of the car like in real life. Is this possible?

Gangster53 YT | 2022-09-30 17:12

Revolutions or rpm mean the number of turns, so I don’t know what you mean by “the revolution of the car”. And “distance traveled in time” is the speed? I’m confused by what you want exactly.

SteveSmith | 2022-09-30 17:53