duality icon indicating copy to clipboard operation
duality copied to clipboard

Rigidbody Editor Mirror Line

Open ChristianGreiner opened this issue 7 years ago • 1 comments

Summary

Creating a perfect symmetrical rigidbody poly shape can be quite hard. It would be very useful to enable a mirror line on both axes so the shape vertices will be added on the opposite site automatically.

Analysis

  • Enable one mirror line for each poly shape?
  • ...?

What do you think?

ChristianGreiner avatar Sep 12 '18 21:09 ChristianGreiner

Mirroring could be a general RigidBody editor feature allowing features like:

  • Auto-mirroring polygon based shapes, as you mentioned.
  • Mirroring movement of existing or newly created polygon based shape vertices, if they have a mirror equivalent.
  • Creating a mirrored version of new polygon shape on the other side of the mirror.
  • Creating a mirrored version of new circle shapes on the other side of the mirror.
  • Mirroring movement, rotation, scale of existing shapes to their mirror counterparts.
  • Deleting mirror counterparts when deleting shapes on one side.
  • Allow arbitrary mirror lines and provide defaults for the objects local X and Y axis.
  • Allow mirror points for point symmetry.
  • (only one mirror line or point simultaneously)

From the user side, I'd imagine some sort of a "mirror mode" toggle button with a point and a line sub-button, that, when clicked, enables a tool to specify that line or point. While active, all operations are mirrored accordingly. Another click to that button disables the mode again. No meta-information about mirroring is stored persistently in the body and users can use different lines and points as needed while working on the shape - so using any of the mirror functionality does not require the whole shape to be mirrored that way, it just helps non-destructively with the parts being worked on.

Based on the feature list, this issue would be pretty heavy, both design and implementation wise. Maybe we could start with something smaller, a simple first approach, which could be extended in the outlined direction at some point. Could be as simple as a single-click "mirror X" / "mirror Y" button that does a mirrored clone of what's there, which might still provide a good workflow benefit.

ilexp avatar Sep 13 '18 08:09 ilexp