Profile image

Rate of change over a certain amount of time: Funky tree suggestion

227k jamesPLANESii  4.1 years ago

Rate on its own... doesn’t really work right....
It measures the rate of change at the exact moment in the game you’re in, not over time.
This is especially annoying when you want something to be based on the rate you add throttle (which is basically a bunch if infinities between each frame) which results in stuff having a spazzy movement.

An input like ratet(x, t) where x is the input and t is the amount of time the average rate of change is measured over.

This would also make some instruments more realistic and enable interesting flight things like prop torque when it’s accelerating and decelerating etc.

  • Log in to leave a comment
  • Profile image

    No. Smooth is making the speed of a rotator use funky trees. It doesn’t make a reading over time @ChisP

    4.1 years ago
  • Profile image
    13.9k ChrisPy

    isnt this what smooth is?

    4.1 years ago
  • Profile image

    I'm surprised it doesn't work, maybe throttle doesn't update every frame
    Probably (and normally) coded like rate = (newValue - oldValue) / Time.deltaTime

    +2 4.1 years ago
  • Profile image
    9,428 vcharng

    Actually, when I originally suggested calculus, I suggested rate(x, y) where y can be ANYTHING, not just time...

    +2 4.1 years ago
  • Profile image
    16.4k edensk

    Yes

    4.1 years ago
  • Profile image

    @WNP78
    This would be super useful 🙏🙏🙏

    4.1 years ago