Rotation help needed

FungoEntertainmentFungoEntertainment Member Posts: 36
edited November -1 in Working with GS (Mac)
Hey. So, I was working on my game and needed a good rotation for my main player. The game is a dungeon - like demon shooter so I need the player to respond to my arrow keys perfectly. I tried to organize the movement rules like this:

"Move left rule":

-When Key "Left" is pressed - move left (and I set a speed)
- rotate to angle ( 180 ), "stop on destination" box is checked.

But, that didn't work out. Could you please help me fix that? I need to achieve smooth, correct movement and rotation combination for my player.

Thanks.

Comments

  • CatOnAKeyboardCatOnAKeyboard Member Posts: 39
    You are going to need to be a bit more detailed in your question. I can get such behavior working no problem, so I can't say what is wrong with yours...
  • FungoEntertainmentFungoEntertainment Member Posts: 36
    Ok. Sorry. Here it is. When I press the Up key, the player moves forward (Up). I got that working. Now I need to set the player when I let go of the Up arrow-key that it turns left on the spot and starts moving left. The same applies for the Right arrow-key. And my player starts moving in shape of a big circle clockwise. Can you help me set up the correct rule?
Sign In or Register to comment.