(04-23-2024, 03:10 PM)Thinkurvy Wrote: Would it be possible to add a "Translation" tab that mimics the Advanced Scaling options?
I just implemented this functionality myself... somewhat: only for Y displacement (as that was what I needed) and not on a separate tab, but inside the "Scale" tab... dirty, but quick '^^
In case anyone is interested, this is what I did:
In BuildShapeExtrusion.cs (in "Refresh" method) I replaced the top line with the bottom one:
Code:
//Matrix4x4 mat = Matrix4x4.TRS(path.Positions.Array[sample], pathRotation, scale);
Matrix4x4 mat = Matrix4x4.TRS(path.Positions.Array[sample] + (TransY != 0f ? (Vector3.up * TransY * TransMultiplierY.Evaluate(path.RelativeDistances.Array[sample])) : Vector3.zero), pathRotation, scale);I also created the relevant TransY and TransMultiplierY in ScalingModule.cs, using the existing ScaleY and ScaleMultiplierY as a reference.

