Skip to content

setCameraOffsets: creating custom cameras #4286

@thealex-br

Description

@thealex-br

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

Currently, there is no way to change some aspects of the camera without having to completely recreate it from scratch.
setCameraOffsets and getCameraOffsets would be much easier and compatible with other systems.

setCameraOffsets would be useful because:

  • It wouldn't break weapon aiming / orbit camera / running speed or other systems that use setCameraMatrix
  • Allows creating better vehicle cameras
  • Allows creating better weapon cameras
  • Maybe it would allow the creation of a trully functional first-person camera

Describe the solution you'd like

bool = setCameraOffsets(x, y, z)
x, y, z = getCameraOffsets()
bool = resetCameraOffsets()

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