Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get onTouch x,y on the real image pixel #366

Open
nocamles opened this issue Jan 11, 2025 · 2 comments
Open

how to get onTouch x,y on the real image pixel #366

nocamles opened this issue Jan 11, 2025 · 2 comments

Comments

@nocamles
Copy link

No description provided.

@LSE-AP
Copy link

LSE-AP commented Jan 30, 2025

I need more or less the same request. I need to move the camera on touched point. So, how can I calculate the Yaw and Pitch values from touched X,Y considering the current FOV?

@LSE-AP
Copy link

LSE-AP commented Jan 30, 2025

I tried to use camera.Rotate method with:
StartPoint -> Touch position
EndPoint -> Center position

but does not work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants