• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Request] Facing Orientation

    Discussion in 'Archives' started by motammi, Feb 11, 2011.

    1. motammi

      motammi New Member

      Joined:
      Jul 19, 2010
      Messages:
      16
      Likes Received:
      1
      Trophy Points:
      0
      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: Feb 11, 2011
    2. motammi

      motammi New Member

      Joined:
      Jul 19, 2010
      Messages:
      16
      Likes Received:
      1
      Trophy Points:
      0
      *push* @Apoc or some other Core dev: is it possible to make this variable Public?
       
    3. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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
       
    4. motammi

      motammi New Member

      Joined:
      Jul 19, 2010
      Messages:
      16
      Likes Received:
      1
      Trophy Points:
      0
      Not using this for profiles :) Need this for mathematic purpose for my upcoming botbase :)
       
    5. daystar

      daystar New Member

      Joined:
      Nov 12, 2010
      Messages:
      83
      Likes Received:
      0
      Trophy Points:
      0
      Do you need to know if you're facing the object or if the object is facing you?
       
    6. motammi

      motammi New Member

      Joined:
      Jul 19, 2010
      Messages:
      16
      Likes Received:
      1
      Trophy Points:
      0
      Nope, I Need the Radian value =) I think *hope* the Developer knows what I mean =)
       
    7. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Use the "Rotation" property.
       
    8. daystar

      daystar New Member

      Joined:
      Nov 12, 2010
      Messages:
      83
      Likes Received:
      0
      Trophy Points:
      0
      WoWGameObject.GetWorldMatrix() ?
       
    9. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      WoWObject.Rotation
      or
      WoWObject.RotationDegrees

      both will give you a float
       
    10. motammi

      motammi New Member

      Joined:
      Jul 19, 2010
      Messages:
      16
      Likes Received:
      1
      Trophy Points:
      0
      Thanks Apoc and CodenameG :) Thats what I've been searching for =)
       

    Share This Page