Giter Site home page Giter Site logo

Comments (7)

res2k avatar res2k commented on July 28, 2024

IIRC, viewangles would look somewhat odd in third person mode - it would follow the camera, not where the player is looking.

from q2rtx.

res2k avatar res2k commented on July 28, 2024

One (partial) solution may be to do a check if (cls.demo.playback) and use cl.refdef.viewangles in that case.
Now that would be incorrect in thirdperson in demos - if that is thing, and not completely weird in other ways (as thirdperson is also a client-side effect).

from q2rtx.

in-league-with-satan avatar in-league-with-satan commented on July 28, 2024

tried to play with "cl_player_model 3", seemed to me both options look the same

from q2rtx.

res2k avatar res2k commented on July 28, 2024

You need to choose a cl_thirdperson_angle that differs from the default (0).
With e.g. 90 degrees it's quite obvious the flashlight points along the view direction, not the direction the player model looks.

from q2rtx.

in-league-with-satan avatar in-league-with-satan commented on July 28, 2024

ah, yes. with cl_thirdperson_angle there is a difference. but why someone needs to change this angle? control becomes strange, almost unplayable

from q2rtx.

res2k avatar res2k commented on July 28, 2024

The angle can be used to adjust how third person mode looks.
The "why" doesn't matter - this variable is there and it should be supported.
While an angle such as 90 degrees is indeed pretty extreme and probably nobody will actually play like that for a prolonged time,
it demonstrates that using cl.refdef.viewangles is incorrect.
And it's incorrect independent of the actual angle.

from q2rtx.

in-league-with-satan avatar in-league-with-satan commented on July 28, 2024

ok, i just reported the problem, but how to fix it and whether it needs to be fixed is up to you. for my purposes own fork is enough

from q2rtx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.