Make a Throttle for a Spaceship
I am doing a sort of star warsy space battle game and already have all of the movements for the X-wing (roll, look up, look down, look right/left) but I can't figure out how to make the controls so that it accelerates/decelartes, uses a speedboost, and breaks aggressively. Plz help me... Thanks
asked Dec 28 '17 at 01:12 AM in Blueprint Scripting
Maybe a FloatingPawnMovement component can help you achieve what you want. Please refer to my answer in here where I show how to use this component in Blueprints. The only difference between that post and your question is that you would be needing to add this component to your player controlled Pawn class and get the World direction vector from the user inputs. You can then set the speed, acceleration, and deceleration values to your liking to get the movement effect you want.
Hope this help.
Please don't forget to rate this answer if it helped in resolving your issue. Thanks.
answered Dec 28 '17 at 01:24 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here