CesiumGS / CesiumGS/cesium

Add option to change camera pan mode

Open
#9,548 2 comments 0 reactions 0 assignees View on GitHub
category - camera type - enhancement
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

when I want to drag the model with a left click, when the height of the selected point of my mouse is higher than the height of the camera, the model will pan, but when the height of the selected point is lower then the height of the camera, the model will rotate around the center of the earth. This is understandable, but when the camera height and the height of the selected point are very close but less than the height of the selected point, it will cause such a problem. The model rotates too fast around the center of the earth and causes the model to fly away.

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, or entry point. Reproduce the left-drag behavior when the camera and selected-point heights are close, then trace the camera pan/rotation handling and define the configurable pan-mode behavior, including a regression check for the model flying away.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.