Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Here is naive collision test (as a radius I'm using GetCollisionRadius() of the player):

[DiscordArchive] Here is naive collision test (as a radius I'm using GetCollisionRadius() of the player):

[DiscordArchive] Here is naive collision test (as a radius I'm using GetCollisionRadius() of the player):

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
02-20-2025, 09:22 PM
#11
Archived author: Bench • Posted: 2025-02-20T21:22:14.784000+00:00
Original source

A *new* paint drawing? How blessed we are on this day
rektbyfaith
02-20-2025, 09:22 PM #11

Archived author: Bench • Posted: 2025-02-20T21:22:14.784000+00:00
Original source

A *new* paint drawing? How blessed we are on this day

rektbyfaith
Administrator
0
02-20-2025, 09:52 PM
#12
Archived author: walkline • Posted: 2025-02-20T21:52:31.486000+00:00
Original source

Alright, thanks for sharing this. Maybe I have at least some understanding of how it would work with a single triangle, but in your example, there are two triangles, right? So how would we get the green position?
Also, another challenge for me is finding the relevant triangles in vmaps. For me, they are hidden too deep in abstractions and data structures (the grid map seems simpler)
rektbyfaith
02-20-2025, 09:52 PM #12

Archived author: walkline • Posted: 2025-02-20T21:52:31.486000+00:00
Original source

Alright, thanks for sharing this. Maybe I have at least some understanding of how it would work with a single triangle, but in your example, there are two triangles, right? So how would we get the green position?
Also, another challenge for me is finding the relevant triangles in vmaps. For me, they are hidden too deep in abstractions and data structures (the grid map seems simpler)

rektbyfaith
Administrator
0
02-20-2025, 09:59 PM
#13
Archived author: Pursche • Posted: 2025-02-20T21:59:17.455000+00:00
Original source

Lets worry about getting to the green position when we have the blue position, it will include looping over several triangles and getting the normal vector of the triangle etc. One step at a time.

Yeah, the amount of abstraction layers and unnecessary data structures in wow emulators is a major pain point and the main reason I don't do emulation anymore. There's just layers of shit ontop of other layers of shit everywhere and at some point it could have used a complete refactor of the structure. Don't get me started on how object oriented the project is and all the damn 5000 lines+ god classes that have way too much responsibility because it tries to do everything. I could rant about this for hours (and I have in the past), but I do admit that it's not specifically AC's fault, it's the project you branched from, which branched from another project, which branched from another etc.
rektbyfaith
02-20-2025, 09:59 PM #13

Archived author: Pursche • Posted: 2025-02-20T21:59:17.455000+00:00
Original source

Lets worry about getting to the green position when we have the blue position, it will include looping over several triangles and getting the normal vector of the triangle etc. One step at a time.

Yeah, the amount of abstraction layers and unnecessary data structures in wow emulators is a major pain point and the main reason I don't do emulation anymore. There's just layers of shit ontop of other layers of shit everywhere and at some point it could have used a complete refactor of the structure. Don't get me started on how object oriented the project is and all the damn 5000 lines+ god classes that have way too much responsibility because it tries to do everything. I could rant about this for hours (and I have in the past), but I do admit that it's not specifically AC's fault, it's the project you branched from, which branched from another project, which branched from another etc.

rektbyfaith
Administrator
0
02-20-2025, 10:10 PM
#14
Archived author: walkline • Posted: 2025-02-20T22:10:49.247000+00:00
Original source

Alright then, give me some time to look into the current codebase and see if I can implement the solution with at least a single triangle, and then we can proceed. If I fail, and the chances aren't small, maybe I can add part of this discussion to that old topic on GitHub. Perhaps my successor will have better luck.
rektbyfaith
02-20-2025, 10:10 PM #14

Archived author: walkline • Posted: 2025-02-20T22:10:49.247000+00:00
Original source

Alright then, give me some time to look into the current codebase and see if I can implement the solution with at least a single triangle, and then we can proceed. If I fail, and the chances aren't small, maybe I can add part of this discussion to that old topic on GitHub. Perhaps my successor will have better luck.

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)