Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: dabaq on May 12, 2014, 02:56:24 PM

Title: Moving while jumping + mousedown
Post by: dabaq on May 12, 2014, 02:56:24 PM
Hi.

I have a player. I use force to jump the player up "Y axis", as show on the picture.

I have two questions:

1. I want the player to move along the X-axis at all time. I tried to add a translate to the player, but then i can't jump. Any tips on how to do it?

2. When I press left mouse, the player just jump (like in flappy bird). However I would like to make it so when I hold down the left mouse button, the player goes up. How do I do that?

Hope you can help :)