💀
R-ESP
CtrlK
  • LICENSE
  • 🏡Home
    • 👋Introduction
    • ⁉️Usage
    • 🥚Examples
    • 📜To Do
  • 🛠️Utilities
    • 🔨Get Current Camera
    • 🔨Is On Screen
    • 🔨Combine Tables
    • 🔨Deep Copy
    • 🔨Convert V3 -> V2
    • 🔨Calculate Corners
    • 🔨Rotate Vector2
    • 🔨Set Drawing Properties
    • 🔨Create Drawing
  • 🏹ESP Object Classes
    • 🏓Base
      • Constructor
      • Initialise Objects
      • Destroy
      • Update
    • ⚾BoxSquare
      • Data
      • Properties
    • ⚾Tracer
      • Data
      • Properties
    • ⚾Header
      • Data
      • Properties
      • Get Position
    • ⚾Healthbar
      • Data
      • Properties
    • ⚾OffArrow
      • Data
      • Properties
      • Direction
    • ⚾Box3D
      • Data
      • Properties
  • 💿Managers
    • 📀InstanceObject
      • Constructor
      • Get
      • Has
      • Add
      • Render
      • Destroy
      • HeaderOffset
      • Name
      • Weapon
      • Health
      • Distance
    • 📀PlayerManager
      • Constructor
      • Character
      • Add
      • Render
      • Destroy
    • 📀PlayerManagers
      • Constructor
      • Add
      • OnPlayerAdded
      • Destroy
      • InitialiseConnections
      • Initialise
Powered by GitBook
On this page
  • Parameters
  • Return
Edit on GitHub
  1. 🛠️Utilities

🔨Convert V3 -> V2

<Vector2 | table<Vector2>> Utilities.ConvertV3toV2(<Vector3 | table<Vector3>> Vector)

Converts Vector3s to Vector2 by ignoring the Z axis of the Vector.

Parameters

Name
Description
Type
Default
Optional

Vector

The vectors to convert

Vector3 | table<Vector3>

N/A

Return

<Vector2 | table<Vector2>> the converted vector(s)

PreviousDeep CopyNextCalculate Corners

Last updated 2 years ago