pellinor0 / TweakScale

Forked from Gaius Goodspeed's Goodspeed Aerospace Part & TweakScale plugin
29 stars 23 forks source link

Mirror symmetry is broken #33

Closed pellinor0 closed 8 years ago

pellinor0 commented 8 years ago

See here: http://forum.kerbalspaceprogram.com/index.php?/topic/101540-112-tweakscale-v2210may-5-more-fixes/&do=findComment&comment=2567665

The game mirrors parts in the SPH. When TweakScale is installed, the copy is rotated 180° instead of mirrored (even for unscaled parts).

pellinor0 commented 8 years ago

Edit: scalePartTransform() is the culprit! Still no idea what is going wrong.

pellinor0 commented 8 years ago

fixed by https://github.com/pellinor0/TweakScale/commit/e3cb25adbebecf65ab817af00155c0b0246ad25b

For mirrored parts, the game flips signs in the model transform, and TweakScale was not watching for those changes.