Jump to content

How to change default turned direction.


NickOver
 Share

Recommended Posts

Hi!

On start default "face" is turned to left. How i can change that? Of course i can add 

player.rotation = game.physics.arcade.angleToPointer(player) - 2; //I know, 1.xxxxxxx

but i think it isn't best solution.

Maybe that explain my problem. As you see face is on left, but sprite face is turned to bottom. I use ARCADE physics.

http://www.awesomescreenshot.com/image/1957784/fd04df210e397a14fd043b4bc601a732

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...