Announcement

Collapse
No announcement yet.

RInterpTo: How to calculate Interpolation speed between two Rotators

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    RInterpTo: How to calculate Interpolation speed between two Rotators

    Hey guys,

    I am trying to calculate the interpolation speed between two rotators. I have the initial rotation, target rotation and the time it should take to complete the interpolation. I am not sure if the calculus is correct. My current approach is the one in the following image, but it never takes the desired time.

    Click image for larger version

Name:	speed.png
Views:	57
Size:	25.7 KB
ID:	1779636
    I am trying to use this speed in the FInterpTo funtion in C++.

    Click image for larger version

Name:	interp.PNG
Views:	58
Size:	10.7 KB
ID:	1779637

    Thanks in advance

    #2
    Constant Interp functions have weird speed settings.

    If you try the non constant interps with the same speed, they have different actual speeds.

    I think you should try increasing the final speed by a factor of 10, and seeing if you're closer then

    Comment


      #3
      Originally posted by Natalo77 View Post
      Constant Interp functions have weird speed settings.

      If you try the non constant interps with the same speed, they have different actual speeds.

      I think you should try increasing the final speed by a factor of 10, and seeing if you're closer then
      I have tried with both RInterpTo and RInterpConstantTo and neither of them lasts what they are supposed to. It doesn´t look like if I increase the final speed by a factor of 10 is going to be closer. I don't know if you have any other alternative.

      Comment


        #4
        Just to be clear - are your results too slow? or too fast?

        Comment


          #5
          Originally posted by Natalo77 View Post
          Just to be clear - are your results too slow? or too fast?
          They are too fast
          Last edited by asierta; 06-24-2020, 05:51 AM.

          Comment


            #6
            Originally posted by asierta View Post

            They are too fast
            Try decreasing your speeds by a factor of 10 then

            Comment

            Working...
            X