How to properly dynamically create shapes like arcs? #10923
Replies: 2 comments 3 replies
-
You have a few options here:
Honestly it all depends on your use case. Do you mean to draw and combine "bendable" lines? Is the shape of the line to be updated each frame, or the same line will persist, but their |
Beta Was this translation helpful? Give feedback.
-
I guess you can't use gizmos? That would be the most obvious solution.
Try it and find out. As far as I remember, you can also edit meshes at runtime, so you can try to reuse existing ones if it helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to draw many (millions) of 3D arcs of arbitrary sizes (10º, 23º, 57.456º etc), including dynamically. But not all of them are on the screen at the same time.
Something like this:
(They are arcs now, perhaps will be bezier curves later, I don't know)
Transform
can only do affine transformations. So I cannot create for example a basic arc and skew it it into an arc I need.So, after hours reading Bevy code and examples, I see these options:
So
SkinnedMeshInverseBindposes
)I don't expect detailed answers, but some pointers or just intuition would be appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions