Why doesn’t this work? What did I do wrong?
The print strings do appear on the screen
Ermmmm… How do I say this, I wouldn’t do it like this if you want to make this vehicle move.
There are a lot of things we missed here. The current setup is the negation of the UE5 principle.
I would recommend you use actor class combined together with the animation bp.
By means, your actor class should do the calculation and the animation bp should just play the animation and you should not set the transform inside the animation bp, it could cause a lot of trouble later on if it still works in the end.
How would you make an animation for the front to go up and down and that you could control it with the keyboard?
Apologize for the late reply. This idea is not new and is not easy to set up either. You can take a look at the sample project provided by Epic Games. Or you can observe the vehicle template provided in Unreal Engine. They have a proper vehicle physics setup too and I believe your current setup does not implement any vehicle component and physics rather than just an animation blueprint.
They have a proper setup and examples for you to follow from the template. I know it is a complicated thing and bothersome to do, but it is all a part of the learning process too.
To allow the vehicle to move up and down I will give you some guidance afterwards but first, you have to set up this basic movement.