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

[Request] Facing Orientation

motammi

New Member
Joined
Jul 19, 2010
Messages
16
Reaction score
1
Hi,

is there any way to get the facing orientation (float) of an WoWObject?

Something like this: (WoWPlayer)player.facing ^^

WoWMathHelper.CalculateNeededFacing(myPosi, playerPosi); seems to give me wrong values... =/

Greetz
 
Last edited:
*push* @Apoc or some other Core dev: is it possible to make this variable Public?
 
I had an issue with this in regards to a BC quest where you have to light stuff on fire (the big thrower things). I simply used 3 RunTo's ... mainly because there was agro in the area, and it fixed most of my issues (and ofc useitem).

Since it wasn't clickable I had to use item, and not useitemon
 
Not using this for profiles :) Need this for mathematic purpose for my upcoming botbase :)
 
Do you need to know if you're facing the object or if the object is facing you?
 
Nope, I Need the Radian value =) I think *hope* the Developer knows what I mean =)
 
Use the "Rotation" property.
 
WoWObject.Rotation
or
WoWObject.RotationDegrees

both will give you a float
 
Thanks Apoc and CodenameG :) Thats what I've been searching for =)
 
Back
Top