I’m working on a complex state machine and I’d like to have some gates determine their state paths based on if the character is accelerating or decelerating (while doing other actions). The image below shows me successfully grabbing acceleration values, but when I hook up deceleration to a variable it says the values aren’t in scope. How/Where should I be grabbing this information?
Acceleration works when you’re moving, but the instant you move your finger off of the movement key they snap back to 0,0,0. My character slows down over time (aka decelerates) so I’m assuming the player’s deceleration has actual values, if only I could find them.
Thanks for looking!