Subtract Two Floats Over Time(Smoothly)?

anonymous_user_079e56df
Fri, 15 Sep 2017 02:13:17 +0000
Community & Industry Discussion

Hello, I have a very simple BP which triggers an event every 2 seconds. And that event gets the collision capsule rotation (yaw value) and substracts the control rotation(yaw value) from it.

This results in an instant snap of capsule to rotation wanted. How can I make it so that capsule rotation rotates smoothly to the yaw value wanted? I tried using timeline, lerp and Rinterp to nodes but they didn’t quite work or I did something wrong.

Thank you for any suggestions/responses.

P.S. use pawn control rotation is checked off so mouse inputs shouldn’t be an interuptor in this case

7 posts - 1 participant