Getting or setting Horse's X and Y angles.

Post » Fri Jan 09, 2015 4:16 pm

Hey!

I'm creating horse carriage. Currently there is driver who uses horse as ordinary mount and second character is sitting in chair which will be moved behind horse via script. Chair's and character's positions and rotations are taken from horse's position and rotation.

I can get reliably horse's Z angle (left and right rotation), but depending on ground's shape horse is currently standing on, it will rotate up or down. Values from X and Y angles (up and down rotations) which I would need for knowing how high or low character should be placed, I can't get correctly. I tried to use GetAngle X and GetAngle Y, but those commands didn't give me any real values.

Is there some way to get X and Y angle values correctly or is there some way to prevent horse for not rotating up or down?

Any alternative suggestions are also welcome.

User avatar
Julia Schwalbe
 
Posts: 3557
Joined: Wed Apr 11, 2007 3:02 pm

Return to IV - Oblivion

cron