Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement "Scaling Variants" to derive new "stretched" parts #43
LinuxGuruGamer suggested a new feature, allowing TweakScale to stretch parts anisotropicaly.
My current proposal is to add VARIANTS to the TweakScale module config section, and a new Tweak on the Tweakables menu would allow to select the scale variant for the part. Being an Add'On author tool, no UI will be created for anisotropic scaling by the user:
Adding "VARIANTS" to the TweakScale section, where Add'On authors would add the desired variations of the base part with the stretching he/she wants.
The scaling exponent to be used would be the same specified on the parent TweakScale, but the dimensions to be used need to be specified to cope with the bidimensional and mono-dimensional scaling (to be applied to solar panels, for example).
Once the VARIANT is selected using a new Tweak on the Tweakables Menu, the user still can apply the "user" scaling as he always did. I'm unsure if I should allow "TweakScale/Variant" to be injected on preexistent parts, however.
It still doesn't copes with the texturing stretching, but that can be fixed later -the problems can be solved one by one. Assuming this would be a problem to be dealt.