Profile image

Precise clock using rotators?

11.4k iwannabeelected  5.1 years ago

Hi guys, I'm trying to make a tiny clock in the game using infinite rotators. And so the question is: is it at all possible to make them show actual in-game time? I mean, adjust speed of the rotators so they measure exact hours passed (say, with 30 minutes long day), and how can I do it? Or maybe there is another way to make such a clock?

Thanks

Update:

In other words, what I'm trying to achieve is make a rotator turn 24 times in exactly 30 (15, 60) real minutes. What I have found so far is that the rotator at 100% speed does full turn in about 1.6 seconds. But it is a rough estimate

Update 2:

It works!

  • Log in to leave a comment
  • Profile image

    Okay, so I'm gonna post it shorty

    5.1 years ago
  • Profile image

    @Winstonlharambe same here. Works pretty good as for me. Let me know if you're going to upload it so I don't do the same thing.

    By the way, saw your comment about the engine under my build but totally forgot about it, sorry. Will check it out in the nearest time.

    +1 5.1 years ago
  • Profile image

    I already made it. It’s not yet uploaded

    5.1 years ago
  • Profile image

    Okay, with the help of some online services I calculated the speed needed:

    For minute hand it should be 0.13333...
    For hour hand - 0.03849...

    Gotta give it a try later.

    5.1 years ago
  • Profile image

    So I guess the math looks like this:

    30 minutes is 1800 seconds, so 24 turns in 1800 seconds = one turn in 75 seconds.

    So, if one turn = 4 / (3 * speed * speed) seconds,

    then we have:

    75 = 4 / (3 * x * x)

    75 = 4 / (3x^2)

    x =

    And that's where it starts to be complicated

    5.1 years ago
  • Profile image

    @WNP78 wow, that is really helpful! Thank you!

    5.1 years ago
  • Profile image
    Dev WNP78

    I documented the formulae for rotator (and piston) motion here (second paragraph). The relation between the speed you set and it's rotational speed is not actually linear.

    +1 5.1 years ago
  • Profile image

    @Chancey21 thanks for the mention!

    +1 5.1 years ago
  • Profile image
    69.2k Chancey21

    This looks like a question for @WNP78

    5.1 years ago
  • Profile image

    Dude use this idea. Use the winch to turn the wheel it’s way more precise and involves a lot less math

    5.1 years ago
  • Profile image

    @CRJ900Pilot yeah, but it's a lot of time! I believe it could be done with math and some knowledge of the games engine, but I'm bad at both :(

    5.1 years ago
  • Profile image
    32.3k CRJ900Pilot

    I would just keep adjusting the rotator settings and wait

    +1 5.1 years ago
  • Profile image

    In other words, what I'm trying to achieve is make a rotator turn 24 times in exactly 30 (15, 60) real minutes. What I have found so far is that the rotator at 100% speed does full turn in about 1.6 seconds. But it is a rough estimate

    5.1 years ago
  • Profile image

    @Adityo0502 @RailfanEthan that's not a problem actually. I don't mind setting the exact time and day duration every time, if only it will match the rotators

    5.1 years ago
  • Profile image
    8,762 BlunderBirb

    Though in theory it sounds possible, I dont think you can actually make one though, cause the level can start at different time and in game dayspan can be changed, so for it to work you have to set the time every level.

    5.1 years ago
  • Profile image

    no, because the time in game can be changed and it starts at different times. The only accurate clock you can make is a sundial.

    +1 5.1 years ago