View Full Version : Rotations
Akari
01-14-2003, 07:11 AM
Hi. I want the player to be sideway's completly sideways to the right. But no matter what I do to tell it to ( [Movement] EndPosition = (-2,0,6); Rotation = (0,0,0) images/icons/wink.gif it doesn't. It is the smae as the animation. Any Ideas how to tell it to rotate? THanks
Maddieman
01-14-2003, 07:40 AM
You'll need to explain what you want to achieve more clearly.
Is this for the main standing animation? Do you want the player to be standing at an angle like in the hitman mod, etc?
The rotation parameter doesn't just rotate the character but the camera and player position also. So, if you were just to change the rotation to say, 45 degrees; while the character would be offset at that angle, to the user it there would be no change (except that the player starts off looking another direction).
If you want the character to stand facing one direction, but the player to look forwards then you're going to have to change the animation itself.
Another thing, looking at your post again...endpostion doesn't rotate the character, it just moves it. So an x value of -2 and a z value of 6 will move the character forwards 6 steps and 2 to the left(?).
Like I said, you're going to have to explain in more detail (a diagram would be helpful) what you're trying to do.
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.