Page 1 of 1

How to create a Speedometer

Unread postPosted: Wed Feb 03, 2021 4:19 pm
by sergio
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.

Reply

Unread postPosted: Thu Feb 04, 2021 1:29 pm
by RailRoadEngineer
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.

Re: How to create a Speedometer

Unread postPosted: Fri Feb 05, 2021 10:53 am
by GreatNortherner
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

Re: How to create a Speedometer

Unread postPosted: Fri Feb 05, 2021 11:23 am
by sergio
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.