What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

WoW unit angle of slope?

vlad0327

New Member
Joined
Feb 4, 2011
Messages
291
Reaction score
10
I'll try to explain what I need...

As you know, WoW landscape is not flat. And player model(or vehicle we currently control) has not only an XYZ position and camera orientation, but also an angle of slope.

And I need to know, if it's possible to somehow get this angle (in degrees, radians or even %, doesn't matter).

I didn't find this value in any of documented Lua funtions, but maybe Styx has something for me?
 
We have rotation (yaw)/pitch in WoWObject. You can also notice that your character does not bend with the terrain (only on kodos).
 
Back
Top