Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bug at wManager.Wow.Helpers.MovementManager.Face

  • Version: All
  • Product: Developers
  • Type: Bug
  • Status: Confirmed

Hello, i would like to report that the facing behavior isn't working correct on the 3.3.5a client.

I tried to call "ClickToMove.CGPlayer_C__ClickToMove(position.X, position.Y, position.Z, 0UL, 2, 0.5f)" with different ClickToMoveTypes.

The result: it face to an other fixed position in nowhere.

 

Thank you in advance.

User Feedback

Recommended Comments

reapler

Elite user

An alternative would be to use wManager.Wow.ObjectManager.ObjectManager.Me.Rotation. But it's also not that what it should do while moving.

for e.g:

The player face to the angle but movement doesn't get updated that result in that the character is still moving to the same direction before the rotation was set:

- movement direction is the same

- only facing is changed 

It looks abit strange while moving :)

I've read that a movementflag can be changed to correct this wrong behavior but i'm not sure.

 

Best regards

reapler

Elite user

I belive "public static void CGPlayer_C__ClickToMove(float x, float y, float z, ulong guid, int action, float precision)" is used wrong, if you have ClickToMoveType.Face as action.

I've made a method to set rotation based on position:

    public void Face(Vector3 to)
    {
        var me = wManager.Wow.ObjectManager.ObjectManager.Me;
        ClickToMove.CGPlayer_C__ClickToMove(0, 0, 0, me.Guid, 2, (float)System.Math.Atan2(to.Y - me.Position.Y, to.X - me.Position.X));
    }

So this means precision would change to rotation.

This worked for me flawless on 3.3.5a. I think the behavior is almost the same for other clients.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.