Open nicopap opened 1 year ago
I'm now using gizmos extensively for debug visualizations.
Here's a +1 for filled shapes. One of my gizmos is visualizing a quadtree, another is the nav mesh (using the quadtree) and filled gizmos would let me make an Unreal-style navigable area preview. It works now, just not as easy to look at as it could be.
https://github.com/bevyengine/bevy/issues/9475 also seems relevant.
Could you also add regular and irregular polygons to the list of shapes?
Could you also add regular and irregular polygons to the list of shapes?
I think it could be better expressed as "2D meshes". I'll reword the post to be more inclusive.
Text in 3d space: Gizmo should let print text in 3D games, may chose to keep the same size with distance or apply perspective.
Should have the choice between the text being billboarded or facing a specific direction
Could write a polyhedron function with a similar interface to OpenSCAD's polyhedron() function. And by being less strict about the faces argument (since we only actually care about edges) it would work for polygons too.
Under arrows, could you add "double-ended"? thought of it just now but i'll forget by the time i can do it
I think passing a Mesh
to the gizmos would be enough for the polyhedron API (it's listed in the issue as "3D Mesh")
Under arrows, could you add "double-ended"? thought of it just now but i'll forget by the time i can do it
Should have the choice between the text being billboarded or facing a specific direction
Added them!
Could you add "Compatibility with FixedUpdate"?
They don't have their own gizmo methods (except ellipses), but work through the primitive_2d
and primitive_3d
methods.
Just asking, but does "Round joints" mean that you can have round corners for the gizmos? Would love to be able to draw rectangles, polygons, etc. with rounded corners.
does "Round joints" mean that you can have round corners for the gizmos?
Not exactly. Try drawing a rectangle with the current gizmos and a large line width. You'll notice the corners are "cut". The joints would fill the corners. There are several ways to fill the corners, one of them is to fill it with a rounded shape, which we call "rounded joint".
Ah alright, thanks for the explanation. Should I make a new issue about this, or could this just be added to the list above?
Well, there is "Rounded cuboid" but not "rounded arbitrary shapes" which seems to be a bit harder to implement. Though no reasons to add them to the wish list: added!
I think we have to support a better way of using multiple windows with gizmos without having to create multiple configs for all windows
Can you mark grid as resolved and add a sub-section "cubic grid"?
Can you mark 3d grid #12430, dotted lines #12394 and line joints as resolved please?
Text gizmos... please
@nicopap double-ended can be ticked off. actually a good few can be ticked off. (unless i'm stupid and you're waiting for the features to actually ship)
This issue tracks the progress on Gizmo features
Contributing
Want to check off one of those checkboxes? Nothing easier!
All related issues will be listed in this tracking issue.
The (IMO) easy ones
All features
Not sorted in any specific order:
FixedUpdate
gizmos: Currently gizmos do not work if used in theFixedUpdate
schedule. (#10973, #9153)SystemParam
required, just a macro/function call to draw gizmos, nothing more. No more need to modify the system signature to add gizmos, or even pass around the gizmo struct, in the style of https://github.com/nicopap/bevy-debug-text-overlay/)bevy_text
sanctimonious rituals. Just agizmo_print!("foobar")
and it would show on screen.