hi guys i have one problem, i’m developing a top down gameplay, and the directions of movement and rotation are based on thumbstick, my problem is that when i leave the finger from the look thumbstick, the blueprint reset the rotation on 0,0,0 but i need that the character remain to watch in the last position before i took out the finger from the touch thumbstick.
can someone give me the solution for this? the developing works fine and we leave back this problem on the “to do” but actually we need to resolve this the sooner possible
It happens because the axis events are executed every tick even if you don’t touch the thumbstick. And when the value 0 comes in, the actor gets zero rotation.
You could try using AddActorRotation Instead SetActorRotation.
2 Likes
Also, you could check that a non-zero vector is coming.
And when you release the thumbstick Actor will keep a rotation state. Unfortunately, I don’t have a gamepad at the moment and cannot check this.
2 Likes
tomorrow i’ll try it and i tell you if i get out, thank you for your time!