From a266fcee1a5af6efa614b1de4db31fa1fa269340 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Fri, 27 May 2022 07:29:09 +0200 Subject: [PATCH] fix(fwEntity): Identify offsets for position, forward, up and right vectors These vectors appear to be synced with the ones in m_navigation (CNavigation). --- fwEntity.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fwEntity.hpp b/fwEntity.hpp index 86b4185..a308f40 100644 --- a/fwEntity.hpp +++ b/fwEntity.hpp @@ -20,7 +20,15 @@ namespace rage class CNavigation *m_navigation; //0x0030 char pad_0038[16]; //0x0038 class rage::fwDrawData *m_draw_data; //0x0048 - char pad_0050[128]; //0x0050 + char pad_0050[16]; //0x0050 + class rage::fvector3 m_right; //0x0060 + char pad_006C[4]; //0x006C + class rage::fvector3 m_forward; //0x0070 + char pad_007C[4]; //0x007C + class rage::fvector3 m_up; //0x0080 + char pad_008C[4]; //0x008C + class rage::fvector3 m_position; //0x0090 + char pad_009C[52]; //0x009C class rage::netObject *m_net_object; //0x00D0 char pad_00D8[176]; //0x00D8 uint32_t m_damage_bits; //0x0188