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

Camera parented to Guizmo #323

Open
Quacksilber opened this issue Feb 26, 2024 · 1 comment
Open

Camera parented to Guizmo #323

Quacksilber opened this issue Feb 26, 2024 · 1 comment

Comments

@Quacksilber
Copy link

What I try to achieve:
The active camera shows a gizmo at its center. The camera is parented to an empty in the center. When moving the empty, the camera should follow, thus keeping the gizmo always in its center. This way the camera perspective can be moved, while being in-camera.

This currently only works partially. When clicking e.g. the red arrow and only slightly moving it to the side (then keeping the mouse pressed, but not moving), the camera receives a constant movement on the selected axis. The speed of the movement is directly relational to the distance of the mouse moved from the initial click position.
I suppose this happens, as the gizmo wants to move to the clicked position, but the clicked position is moving away, like a donkey with a carrot on a stick.

Is there a way to achieve my desired behavior, or do I need to include a temporary object that keeps track of translation and only applies it to the camera after the mouse has been released? Happy for any suggestions. :)

@seenooh
Copy link

seenooh commented Jul 30, 2024

Not possible.

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