Pawn Velocity Momentum and Forward Thrusting
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.
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)
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 https://youtu.be/LG1CtlFRmpU?t=4m39s
If you're not already, you should probably be using ACharacter instead of APawn as the class for this actor. This has a CharacterMovementComponent that has the controls you're looking for when in "flying" mode.
answered Jan 13 '16 at 06:30 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here