Hi folks,
I have tried every possible way I am capable of and just can’t find a solution to my problem.
Maybe someone in here can point me into the right direction.
Setting
- Blueprints only
- Camera is locked to an iso perspective
- Lets assume the Pawn is a cuboid
- My Pawn (parent class: pawn) can move forward/ backwards and keeps its momentum until you go into the opposite direction (
Problem
When I turn/ rotate the pawn, it moves into the direction the front is looking
OR
When I turn/ rotate the pawn, it rotates around its axis but when I i want to move forward it keeps on adding velocity to the initial forward direction
What it should do
The pawn rotates around its axis, but still moves into the initial direction. If I hit the forward key, it should move into the direction including the momentum of the previous forward direction.
Probably like Asteroids?! (Havent played it, but it looks similiar)
Note
- The example Blueprints Ufo does it the way I would like to use it. But its key movement depends on the direction the camera is pointing. So this didn’t help as my cam is locked to the pawn
- I have tried it with torque, add force, add force at location (no idea how to get this to work properly), physics linear velocity, local offset, …
- I am not providing a Blueprint as I dont think it helps. I have done about 10 ways and don’t know which one to show
I have tried so many ways, that I even dont know which should be used as a basis.
Thanks a lot in advance for any help
please excuse my spelling
/edit
please take a look at this video. the movement at 4:44 - 4:46 is what i am looking for