Small adjustments to make saber align better in JKA

This commit is contained in:
Simon 2023-11-19 11:32:24 +00:00
parent bb8c3bfa77
commit ae51ef5f27
1 changed files with 3 additions and 1 deletions

View File

@ -804,8 +804,10 @@ void BG_CalculateVRSaberPosition( int saberNum, vec3_t origin, vec3_t angles )
//Move position down a bit
vec3_t axis[3];
AnglesToAxis(angles, axis);
//The "forward" axis will be adjusted
//Small adjustments to make saber align better
VectorMA(origin, -3.0f, axis[0], origin);
VectorMA(origin, -0.5f, axis[1], origin);
VectorMA(origin, 1.2f, axis[2], origin);
}
bool BG_UseVRPosition( gentity_t *ent )