CounterStrikeSharp icon indicating copy to clipboard operation
CounterStrikeSharp copied to clipboard

Outdated EyeAngles related schema

Open Prefix opened this issue 4 months ago • 3 comments

Please update schema https://github.com/SteamDatabase/GameTracking-CS2/compare/f589147034b2...b2e940c06d0d#diff-b8838af1cdf23b4482e986345186d1c5fca90b29f8165880f2ccf35da8193411R301

this function is malfunctioned after update

  public static void GetEyeForward(this CCSPlayerPawn pawn, float distance,
    out Vector3 forward, out Vector3 target) {
    var angles =
      new Vector3(pawn.EyeAngles.X, pawn.EyeAngles.Y, pawn.EyeAngles.Z);
    angles.AngleVectors(out forward, out _, out _);

    var eyeOrigin = pawn.GetEyeOrigin();
    target = eyeOrigin + forward * distance;
  }

Prefix avatar Aug 19 '25 20:08 Prefix

Can confirm it's not working properly

Mesharsky avatar Aug 21 '25 09:08 Mesharsky

Can confirm it's not working properly

Have you tried with 377 with updated schema?

roflmuffin avatar Aug 21 '25 10:08 roflmuffin

Can confirm it's not working properly

Have you tried with 377 with updated schema?

Seems to be working on 337 at this moment.

tslashd avatar Aug 26 '25 18:08 tslashd