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

Transform coordinate does not work with camera_create #771

Open
offalynne opened this issue Sep 9, 2023 · 1 comment
Open

Transform coordinate does not work with camera_create #771

offalynne opened this issue Sep 9, 2023 · 1 comment
Labels
bug 😅 We did a bad thing device-mouse 🐈 Mouse issue

Comments

@offalynne
Copy link
Owner

camera_get_view_x, y, width, height, angle always return 0 for camera_created cameras

Camera properties should be retrieved with camera_get_view_mat if possible

@offalynne offalynne added bug 😅 We did a bad thing device-mouse 🐈 Mouse issue labels Sep 9, 2023
@Hmmmpf
Copy link
Contributor

Hmmmpf commented Sep 12, 2023

This issue extends to any cursor related activities while the coord space is set to ROOM, as camera_get_view_width and camera_get_view_height are being used to determine pointer values in __input_system_tick , as well as boundary margins in __input_class_cursor, and __input_class_gyro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 😅 We did a bad thing device-mouse 🐈 Mouse issue
Projects
None yet
Development

No branches or pull requests

2 participants