Comments (2)
If I understood your message correctly, egui-gizmo already has such feature. You can use coarse precision by holding ctrl and finer precision by holding ctrl+shift, although by default the ctrl rotation only rounds to nearest PI/32.0 radians.
You can customize it with snap_distance
, snap_angle
and snap_scale
in Gizmo. https://docs.rs/egui-gizmo/latest/egui_gizmo/struct.Gizmo.html#method.snap_angle. Is this what you were looking for?
from transform-gizmo.
from transform-gizmo.
Related Issues (20)
- Cannot interact when multiple gizmos are present on screen
- Support for lh coordinate systems HOT 1
- Could this widget interact with 'wants_pointer_input'? HOT 5
- Graphical artifact at some angles HOT 2
- Lag between gizmo and manipulated object HOT 2
- egui-gizmo should not react to input events which occur outside the currently active viewport HOT 1
- Inconsistency of the Math primitives HOT 2
- Are events consumed correctly? HOT 8
- Example of controlling an orbit camera HOT 2
- gizmo acts weirdly with large translations HOT 2
- Translate in camera plane and scale uniformly HOT 1
- Web demo HOT 1
- Trackball rotation HOT 1
- Publish new version HOT 2
- Gizmo does not work with reversed z projection matrix HOT 2
- Global orientation support for scaling
- Support for custom viewport size in bevy integration
- Entity-specific gizmo configuration in bevy integration HOT 4
- Add a configuration to control the visibility of subgizmos per axis
- Add a setting to adjust the size of the view based rotation ring. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transform-gizmo.