How to set a Max and Min angle on a vector to angle?

hzappshzapps Member, PRO Posts: 173

aloha,

I am working on something similar to our cannon template. I can get all of the functions to work, but how do I use the min and max to say stop the angle of the cannon at 45 or 50 degrees?

Hang loose
Mike

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited November 2015

    min ( max ( V2A calculation, range's lower value ), range's upper value )

  • hzappshzapps Member, PRO Posts: 173

    Shout out to socks. You rock. Thanks for the quick response

Sign In or Register to comment.