setRefMirroring

Toggle mirrorToRef mirroring for the following builder instructions.

This is useful when you want to temporarily rely on a global field coordinate, instead of having it flip in the mirrored trajectory. This disabling is done automatically in the constructor and can be enabled with a parameter, whereas actual segments are enabled to be mirrored by default and can be temporarily toggled with this method.

Return

The builder

Parameters

shouldMirror

whether the mirror reference should mirror the following builder instructions, by default this is on