Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Camera first/third person modes #78

@localins

Description

@localins

Add a flag for Cameras that determines how they should anchor to their targets/POIs. When a Camera is in third person, its actual position will stick to the center of every target but the calculated range will be added to its final render position. This will fix a long-standing issue with cameras having interpolation issues when they quickly rotate around their targets.

Other things to consider for first person mode that aren't important:

  • Disable near occlusion for Things.
  • Either A. hide the first target, B. add a bool to the Thing's draw event for special behavior or C. replace its draw event with a unique one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibility breakerWill break mods from older PNEngine releasesenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions