StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

Negative scale does not play nicely with GE #6

Open StjerneIdioten opened 4 years ago

StjerneIdioten commented 4 years ago

Objects that are mirrored by having a negative scale does not export properly to GE. mirror_flipped_normals

StjerneIdioten commented 4 years ago

Changed title since it turns out that mirroring wasn't the problem, but rather negative scale.

StjerneIdioten commented 4 years ago

Turns out the 'Problem' is a bit bigger than that. The exporter is doing its thing, but GE does not play nice with negative scale.

Negative scale is the only way to mirror a collection instance. But in GE the mesh object has to be a copy with vertices mirrored and normals flipped. Per axis that is mirrored.