Announcement

Collapse
No announcement yet.

Finding out degrees change in analog input every .1 seconds

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

    Finding out degrees change in analog input every .1 seconds

    Hello there. I'm trying to program a function in blueprint that allows the player character to brake while moving for a sharp turn by tilting the analog stick in the opposite direction of where the character is currently heading. In order to do this, I want to find out the degrees difference in the player's input over a set amount of time, let's say .1 seconds.

    When having input I make a vector of the different move axes. I figured I could use this somehow, but I haven't had any luck yet. Here's how my code looks right now:

    But it doesn't return the difference. Any tips?
    Last edited by lalkberg; 11-21-2019, 12:11 PM.

    #2
    I managed to figure it out on my own, here's my solution if anyone else winds up with the same problem:

    Comment

    Working...
    X