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.

Use outer hitbox for Vector3?

Featured Replies

Hey all
Does anyone know if it's possible to use the hitbox when using Vector3?

I use this to backtrack from mobs, but if the mob has a big hitbox, it'll cause problems.

Because Target Position does not include the mobs hitbox?

var tar = ObjectManager.Target;
Vector3 newPos = new Vector3(tar.Position.X + posX, tar.Position.Y + posY, tar.Position.Z);

The code below gives the distance between me and target hitbox.

ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach

I also use the Vector3 to check TraceLine, but this also doesn't check far enough on mobs with big hitboxes.

(!TraceLine.TraceLineGo(ObjectManager.Target.Position, newPos))

Hope any of this made any sense, otherwise please ask. :)

I'd love to get help on this!
 

	public static double PosX(int angle)
	{
		return 0 + 18 * System.Math.Cos(angle * System.Math.PI / 180);
	}

	public static double PosY(int angle)
	{
		return 0 + 18 * System.Math.Sin(angle * System.Math.PI / 180);
	}

The number "18" is the range between the vector and the mob. it has to be 18 in order to be 8 yards from a mob with a big hitbox (Raptors in Un'Guru, is an example).
I could make a variable that changed number based on target hitbox size, but i don't know how to get that either. :P

Edited by Ordush

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.