Skip to content

Inconsistent rotations for Camera3D #18

Description

@rabipelais

The panRad function pre-multiplies the new rotation to the old orientation, while tiltRad and rollRad post-multiply it. This leads, for example, to the following unexpected behaviour:

  • roll 90 degrees to the right
  • now tilting up and panning right give the exact same behaviour, which is rotating upwards (with respect to the rotated camera). This makes sense for tilting, not so much for panning.

Is this behaviour desired?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions