0 votes

Hello everyone!

I want to get the rotation speed (RPM) of the Vehicle Wheel node for one of my projects. But I couldn't find any good information on how I can achieve that.

To be more specific, I have a car and I want to see how fast a given wheel is rotating when I am driving around.

Thank you!

in Engine by (21 points)
edited by

2 Answers

0 votes
Best answer

I have found the solution and I will let it here for the people who might need it. As I have found out I think that the Vehicle Wheel Node doesn't actually rotate, but the supposed RPM that it should have can still be calculated as follows:

revolutions per minute (RPM) = speed in meters per minute / circumference of the wheel in meters


circumference of the wheel = radius * PI (aprox 3.14) * 2

by (21 points)
+1 vote

What type of Node is the Wheel? If it is a RigidBody. You can use:


to access the rotation speed and

set_angular_velocity(value) to change it

by (160 points)

Thank you for your answer, unfortunately the node is an actual VehicleWheel node and I think that it does not have access to the RigidBody member functions as I can see from the documentation, I was hoping to find some indirect way to determine or simulate the rotation speed. But now if I think about it I believe that I can calculate the supposed rotation from the actual speed of the car in relation with the wheel's radius.

Here is the VehicleWheel node that I am talking about, and I don't believe it is actually rotating, just simulates the rotation: https://godot.readthedocs.io/en/3.0/classes/class_vehiclewheel.html?highlight=vehicle%20wheel

I see, unfortunately i have never used Vehiclewheel node so can't help you there at the moment. I may look into it some time in the future, though I can't make any promises.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.