Hey guys! I’m trying to add movement to a simple tank (player pawn) and I have little problem.
Actor is built from two boxes - hull and turret (no animations). Left gamepad stick controlls the whole actor, right stick controlls turret and the camera. I made all the physics and collisions, everything works fine except acceleration.
First I tried to do it with Finterp, to make the tank reach max speed over few seconds. It worked quite well but - because of delta time - acceleration time is different everytime (it depends on fps count).
Then I made a function to increase variable value when the stick is tilted in desired direction. At first it worked well too but - because of delta location in AddActorLocalOffset node - acceleration behaved the same way as with Finterp.
Do anyone know solution to make movement like this and keep the acceleration time the same, independently from fps count? I appreciate any help!