Hi @jacksparrow.greg,
If you’re using “swipes” to move the character, it will be the screen which senses the swipes, and that data will be used to move the character. Don’t apply the touch listener to the character itself, since it would likely be difficult for the user to swipe “over the character” to move it.
Nick’s idea of applying a linear impulse and using a flag to prevent multiple swipes is a good and valid suggestion. I would additionally suggest that you apply the upward force after a tiny delay following the bounce. If you apply it immediately on collision with the ground, you’ll be counter-acting the downward force (falling) with the new upward impulse, and it will probably “cancel out” and yield little result. So, perform the upward impulse after a short delay… 50-100 milliseconds perhaps. This will allow the character to naturally bounce off the ground and start its upward movement, and then your impulse will “boost” it upward nicely.
Best of luck!
Brent Sorrentino
[import]uid: 9747 topic_id: 33020 reply_id: 131087[/import]