Skip to content

First person player camera on game engine level #4240

Open
@starfleet001

Description

@starfleet001

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

The idea is to extend mtasa camera class to support first person view for player with accurate and efficient walls (objects) collision handling.

Existing script based solutions are far from perfect. With shaders it's possible to make it look good. However efficient collisions handling is not easy and usually requires several heavy processLineOfSight calls every frame (and even with this solution there are many bad hits that result in camera passing through walls). The last part would be more efficient if it's handled by the game itself in a way current camera third person view is handled.

New camera mode can be added to setCameraViewMode.

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions