-
Notifications
You must be signed in to change notification settings - Fork 912
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 can modify the code to achieve this scaling gizmo #303
Comments
gizmos are processed in 3 steps. For example, using scaling gizmo:
I suggest you to try to have the display correct with all the axis you need. then try to detect various hot areas for your gizmo. and at the end, compute the corresponding matrix. |
Ok, thanks, I'll tinker with it as soon as possible. 👍 |
@lungsdude did you ever figure out how to do this? also curious |
@ddetone sadly I couldn't achieve anything, so I am stuck with default behaviour |
Hello, this is not actually an issue with the library, I just find the library to not be sutible for what I am trying to achieve.
![Brick-Stacker-OpenGL_2elXmeQSta](https://private-user-images.githubusercontent.com/82831388/251113792-6cd2a6bd-0dcf-4294-85e0-c0a645804a8b.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzA5ODEsIm5iZiI6MTczOTIzMDY4MSwicGF0aCI6Ii84MjgzMTM4OC8yNTExMTM3OTItNmNkMmE2YmQtMGRjZi00Mjk0LTg1ZTAtYzBhNjQ1ODA0YThiLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIzMzgwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyMmQwYzc3ZTg4M2JiZjE1NDYzZDhjYWQzMjY3ZDIxMGJlNzI5ZjdlMGM4Zjc4ZjZkNDM1MjU2ZjQ2YTcxNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5GbMNbQ6XK7Yial7fPwJ3Enlv6T33dd4lM4jZsIQSGM)
![BrickBuilder_M7kbZEvgw0 (2) (2)](https://private-user-images.githubusercontent.com/82831388/251116886-5d9e9b5a-1cb1-4231-876c-e9801e548fc1.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzA5ODEsIm5iZiI6MTczOTIzMDY4MSwicGF0aCI6Ii84MjgzMTM4OC8yNTExMTY4ODYtNWQ5ZTliNWEtMWNiMS00MjMxLTg3NmMtZTk4MDFlNTQ4ZmMxLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIzMzgwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyNTYwM2U3Zjg2NDg4Y2RjZWZjY2I0Yjc4NTcwZTBmYmY5NTNhNDlkNDlhZTIyMmI3M2YwOTEyZTExYWVlYTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DiHkoDF7AP7ZuPHKIAYC7Jd_6gedw0gKi5EmrhKLSi4)
The default scaling gizmo scales the model in 2 directions.
But this is the style of scale gizmo I want to achieve, where there are these sticks in 6 directions, and not only 3. Note that I am not aiming for copying the visual look, only the behaviour.
I don't ask for this to be implemented into the library itself, I am just a little bit confused about how to approach doing this.
In advance, thanks.
The text was updated successfully, but these errors were encountered: