I am attempting to make a 2d plane fly to the right, with gravity, and is able to go up by holding the space bar. Technically what I currently have works, but am just getting my feet wet with UE4 and game development in general. I was curious If there was any easier way to get the same result without relying so heavily on the event tick (from what i can tell, I should be avoiding using the tick for all event triggers). As a note: I was having issues with gravity working once I hit the space bar, so I kind of rigged a “fake” gravity, but would prefer to not use this workaround. Thanks for any responses!
In my oppinion your implementaion is pretty good already and there is no better way without loosing reactivity. If that is not an issue, you could restrict the check to every 0.X seconds. I think that would save performance on fast ticking devices.
I would map the key as an axis and tie the axis value as an upward/forward force. It would take care of everything in 2-3 nodes.