BeatSaber-SaberTailor icon indicating copy to clipboard operation
BeatSaber-SaberTailor copied to clipboard

electrostats mode toggle (rot z before translate)

Open incertia opened this issue 3 years ago • 1 comments

2 versions of doing it one is probably easier than the other

a) add electrostats toggle that only affects sabertailor (not really good) b) change mode to enum which requires config migration (and hence why i haven't really done it)

the actual code is pretty simple

                    transform.Rotate(0, 0, Configuration.Grip.RotLeft.z);
                    transform.Translate(Configuration.Grip.PosLeft);
                    transform.Rotate(Configuration.Grip.RotLeft.x, Configuration.Grip.RotLeft.y, 0);
                    transform.Translate(Configuration.Grip.OffsetLeft, Space.World);

so i've had it in my private version but it's probably worth updating sabertailor with it

incertia avatar Jan 27 '22 23:01 incertia

Yeah, makes sense. I'll put it on my ToDo list.

Shadnix-was-taken avatar Feb 02 '22 21:02 Shadnix-was-taken