OBJECT
IS_POINT_IN_ANGLED_AREA
0x2A70BAE8883E4C81
Jenkins: 0x73BCFFDC
Signature
// OBJECT
BOOL IS_POINT_IN_ANGLED_AREA(float xPos, float yPos, float zPos, float x1, float y1, float z1, float x2, float y2, float z2, float width, BOOL debug, BOOL includeZ)
Parameters
| Type | Name |
|---|---|
| float | xPos |
| float | yPos |
| float | zPos |
| float | x1 |
| float | y1 |
| float | z1 |
| float | x2 |
| float | y2 |
| float | z2 |
| float | width |
| BOOL | debug |
| BOOL | includeZ |
Return type BOOL
Build 323
Documentation
An angled area is an X-Z oriented rectangle with three parameters: 1. origin: the mid-point along a base edge of the rectangle; 2. extent: the mid-point of opposite base edge on the other Z; 3. width: the length of the base edge; (named derived from logging strings ``CNetworkRoadNodeWorldStateData``). The oriented rectangle can then be derived from the direction of the two points (``norm(origin - extent)``), its orthonormal, and the width, e.g: 1. golf_mp https://i.imgur.com/JhsQAK9.png 2. am_taxi https://i.imgur.com/TJWCZaT.jpg
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.