Search found 2 matches

by AkylaQD
Wed Oct 12, 2011 6:37 pm
Forum: Beginners Help
Topic: How to turn character in the direction of the mouse?
Replies: 3
Views: 423

Re: How to turn character in the direction of the mouse?

Thanks. getHorizontalAngle() it is what i need to rotate. Now i think about how better to programm walking character.
by AkylaQD
Tue Oct 11, 2011 5:53 pm
Forum: Beginners Help
Topic: How to turn character in the direction of the mouse?
Replies: 3
Views: 423

How to turn character in the direction of the mouse?

I new to this engine, and to gamedev. I want try create game with "diablo"-like camera and game management. Maybe you have examples or you can tell me how it's easier to do?=). My question is: -How to turn character on a terrain in the direction of the mouse? i find setRotation(); function...