feat(Self): SuperRun prefer character rotation instead of cam rotation

This commit is contained in:
Yimura 2021-12-21 11:03:58 +01:00
parent d8b7b8801a
commit c8aa2fd085

View File

@ -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;