Profile image

FT for pitch and roll

897 AnitaMaxWynn  1.2 years ago

Can i ask for help pls? Is there any other way to make a rotator not go back to default rotation after you let go of the pitch/roll??

I mean like.. if you pitch, it go up. (Rotator) and if you let go, it will go back to default... i just want to pitch and roll without it going to default rotation (rotator)

  • Log in to leave a comment
  • Profile image

    Delta time system (put at top of variable list)
    DELTA_TIME = Time - PREV_TIME
    PREV_TIME = Time
    .
    Fixed point integrator with clamp. The variable inside clamp(...) MUST match the setter name.
    PITCH_IN = clamp(PITCH_IN + Pitch * DELTA_TIME * MUL, MIN, MAX)
    MUL: change per second when Pitch=1
    MIN, MAX: clamp limits

    +1 1.2 years ago