Fully Implemented Speedometers and Tachometers UI For Unreal Engine
Fully Implemented Speedometers and Tachometers UI For Unreal Engine
Unreal Engine
Versions Tested 4.25, 4.26, 4.27, 5.0, 5.1, 5.2, 5.3.
First you need to add the project to your content folder, like this:
With the folder added to your content folder, you can go at any blueprint and call these
macros:
This is the only event you will need to use if you don’t want to change anything on the
project.
Each of them calls the widget 1, 2, 3, 4 and 5 and adds it to the screen automatically. All the
casting, adding to viewport and removing from viewport is done inside the macro
automatically.
I’ll get the component class to be able to get the speed, rpm and gear variables from the
unreal default vehicle movement component:
For Unreal 5 you should call “Chaos Wheeled Vehicle Movement Component” on get
component by class
I am using a car that’s compatible with the Wheeled Vehicle Movement Component from
Unreal, but you could use another component, the project only needs the floats to be
updated everytime at event tick.
All the 5 widgets implementation will be like this, if you want to change the design of
something be aware that some texts are variables.
The Wheeled Vehicle Movement Component speed default is meters per second, so be
aware which conversion you will want to make.
Widget 1
The KM/H is a variable and will be changed to MPH if you choose this conversion method.
Widget 2
Widget 3
Widget 4
Widget 5
All of them have code on event graph, it’s all commented, you can check it out and make
changes as you need. But everything is working out of the box.
Remember that all the red lines are customizable, so it can match the car engine, just
change the background texture.
If you want help or a specific design that’s not included, contact me.