I have attached the physics constraint to my tank and have a couple of problems.
First of all: the engine crashes when I try to launch Battleground. There are no problems with AI tanks, but Tank controlled by the player is calling a crash when it spawns. I launched the debugger, and it shows that the problem is with the SetThrottle function. It fixes when I remove this line:
CurrentThrottle = FMath::Clamp(CurrentThrottle + Throttle, -1, +1);
But I don’t understand what the problem is.
The second problem is that my physics constraint for some reason is not in 0, 0, 0 point and I don’t know how to change it’s location because it’s a root component.