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 e557571314
commit f1ae8aa022
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

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;