-
Active Member
Seeking help: Unable to judge face-to-face on The DawnBreaker.
seek help:
I can correctly judge face-to-face in other places, but I cannot judge face-to-face onThe DawnBreaker airship in The DawnBreaker dungeon. The distance calculated between the player and NPC's coordinates xyz is correct. Is there a problem pointing to Radian? Please correct me.

11.0.7.58238, two ways to obtain coordinates xyz
Code:
struct vector3 {
float x = 0;
float y = 0;
float z = 0;
};
vector3 *p = GetworldCoords() //0x00000001402322B0

以下包括Radian
Code:
struct Position {
float x = 0;
float y = 0;
float z = 0;
float s = 0;
float r = 0;
};
Position *p =(Position*)(*(__int64*)(obj + 0xD8) + 0x18)
Using sub_1402C2E00 to solve the curvature problem and face-to-face, CameraManager is no longer suitable and does not know where to solve it.
20241222142331.jpg
Last edited by gdfsxwy; 12-25-2024 at 10:47 AM.
-
Member
You need to use get transport guid and check if ur on transport and use its coordinate system
If i understood your question correctly
-
Post Thanks / Like - 1 Thanks
gdfsxwy (1 members gave Thanks to ncxzxcfdb8112 for this useful post)
-
Active Member
Using sub_1402C2E00 to solve the curvature problem and face-to-face, CameraManager is no longer suitable and does not know where to solve it.
-
Active Member