Hello to everyone,
I wanna explain a problem that i’m having difficult to solve. I have an actor that during a normal state he follow the orientation of a specific vector (Vector A) but when i hold a button, and I keep it pressed, the actor have to set up a new direction following another vector (Vector b) and when i release the button the actor come back to the previous vector orientation (vector A). I didn’t have problem to manage this the problem is that the change of the direction of the is instantaneous and, of course, i want it in a smooth way.
I follow the same logic as the blue print in attachment, but it doesn’t work. I think that there is some problem on the logic of the button pressed with the over time command. I realize that because i notice that if in the Lerp command i set manually the alpha to 1, the rotation work properly but not in smooth way…
Can someone suggest me something?
thank you in advance