The existing Flip node requires that parts of an entity path that must be mirrored end with "L" or "R", but this is often not the case with generated naming schemes used by tools such as Blender's rigify.
This PR enables the behavior to be configured with custom keys instead of "L" and "R", and regex patterns that must precede and follow the keys in each path part.
Breaking changes
The default behaviour remains the same, but it is necessary to edit the animation graph files to replace instances of FlipLR with FlipLR() since the node serialization format is now a tagged enum variant with fields.
The existing Flip node requires that parts of an entity path that must be mirrored end with "L" or "R", but this is often not the case with generated naming schemes used by tools such as Blender's rigify.
This PR enables the behavior to be configured with custom keys instead of "L" and "R", and regex patterns that must precede and follow the keys in each path part.
Breaking changes
The default behaviour remains the same, but it is necessary to edit the animation graph files to replace instances of
FlipLR
withFlipLR()
since the node serialization format is now a tagged enum variant with fields.