How to create a Speedometer

Post your problems and installation issues here!

How to create a Speedometer

Unread postby sergio » Wed Feb 03, 2021 4:19 pm

Hello ima tring to create a speedometer for railcar.

I follow this tutorial:
http://thegradecrossing.blogspot.com/20 ... ation.html

But dont work with my model.

From the tutorial i should put the last frame with the needle pointing to the max speed.
In my case the max speed is 100km, however in inclined tracks, the speed can pass 100km but the needle will always pointing to 100km.

I appreciate your help.
sergio
 

Reply

Unread postby RailRoadEngineer » Thu Feb 04, 2021 1:29 pm

It is fairly natural that speed of a RailCar can go beyond prescribed limit in down gradient.
Since it is a game, it will always show the needle at maximum limit as you set in 3D program so do not expect it to go beyond that limit.
RailRoadEngineer
 
Posts: 49
Joined: Sun Sep 13, 2020 5:14 pm

Re: How to create a Speedometer

Unread postby GreatNortherner » Fri Feb 05, 2021 10:53 am

sergio wrote:From the tutorial i should put the last frame with the needle pointing to the max speed.
In my case the max speed is 100km, however in inclined tracks, the speed can pass 100km but the needle will always pointing to 100km.


It should be possible to achieve what you want:

1) do some test runs to determine the (physical) max. speed of your vehicle that you can ever reach in gameplay (steep descent, max throttle) / alternatively just use a speed that you already know is slightly higher than what you could ever achieve with that vehicle in the game -- let's for our example assume it's 125 kph

2) animate the cabview speedometer needle up to where 125 kph would be if the instrument's scale extended that far

3) set the same 125 kph speed as the top value in the engine blueprint's speedometer controller section -- the needle should now extend past the 100 kph mark if you go faster

Cheers
Michael
User avatar
GreatNortherner
 
Posts: 1586
Joined: Sun Feb 15, 2009 11:19 am
Location: Czech Republic

Re: How to create a Speedometer

Unread postby sergio » Fri Feb 05, 2021 11:23 am

Thank you all for your time.

I solve the problem.

Image

In blender, i create an animation with 120 keyframes (like the max values of speedometer 120 kph), and then align the needle 10 by 10 frames till the end.

Now everything seams working as expected.
sergio
 


Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 1 guest