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.

Radar3D How to use it?

Featured Replies

I want to draw cirlces and lines, I have this

public void Draw()
    {
        Radar3D.DrawLine(_nearestPoint, ObjectManager.Me.Position, Color.Red);

        _path.ForEach(i => Radar3D.DrawCircle(i, 2f, Color.Green));
        
        
    }

If I call it every 17ms from loop, there is nothing good in my Wow window, tell me how to use it correctly.

I have dabbled a little bit with it, but I was not very successful myself. Maybe you need a draw event and then pulse the radar?

Radar3D.OnDrawEvent += () =>
{
	// draw
};
Radar3D.Pulse();

I believe you want the OnDrawEvent inside the Initialize() method.

  • Author

Helpplease with Radar3D.add_OnDrawEvent and Radar3D.remove_OnDrawEvent , because if i restart bot previous point will appear. I have problem with understendig those handlers and delegates:(

Hello, you can subscribe your method to the event on initialize and unsubscribe on dispose:

    public void Initialize()
    {
        Radar3D.Pulse();
        Radar3D.OnDrawEvent += Radar3DOnDrawEvent;
    }
    
    public void Dispose()
    {
        Radar3D.OnDrawEvent -= Radar3DOnDrawEvent;
        Radar3D.Stop();
    }
    
    private static void Radar3DOnDrawEvent()
    {
        if (ObjectManager.Target.IsValid)
            Radar3D.DrawLine(ObjectManager.Me.Position, ObjectManager.Target.Position, Color.Chocolate);
        Radar3D.DrawCircle(ObjectManager.Me.Position, 5, Color.Chocolate);
    }

 

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.