Scale object over time using date/year

Hi,

I want to scale an object on the x and y axis using the date as an imput.

So the base date where the scale is 1 = (for example) 2-10-2024
And when the date is 6-6-2061 the scale = 2

So it’s scales really slow over time. And when you turn on the ‘game’ it should update the date to the current date and also update the scale to to position corresponding with the date.

And I would like to do this using blueprint. Could someone help me out?
Kind regards,
Thijs

Convert your date/time to unix time, unix time is a date and time in seconds, which is a simple integer which is easy for you to process.

Get the current unix time divided by the unix time of the date you want to be 1:1 and you should have the result you want.

Thx, I will look into it and post my results


This is what I have and it seems to work.

The next thing is to change the textures/material over time.

1 Like