mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-07 18:03:34 +08:00
feat(Self): SuperRun prefer character rotation instead of cam rotation
This commit is contained in:
parent
d8b7b8801a
commit
c8aa2fd085
@ -19,7 +19,8 @@ namespace big
|
||||
|
||||
Vector3 pos = ENTITY::GET_ENTITY_COORDS(player, true);
|
||||
|
||||
Vector3 rot = CAM::GET_GAMEPLAY_CAM_ROT(2);
|
||||
//Vector3 rot = CAM::GET_GAMEPLAY_CAM_ROT(2);
|
||||
Vector3 rot = ENTITY::GET_ENTITY_ROTATION(player, 2);
|
||||
float yaw = math::deg_to_rad(rot.z + 90);
|
||||
|
||||
Vector3 offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user