mirroring an instance

Is it possible to mirror/reflect an instance, rather than rotate it? Couldn’t find anything on the manual or the forums. Thanks in advance.

Sure, a mirror is just a negative scale in one axis, e.g. model.set_scale(-1, 1, 1).

When you mirror a model, you also mirror its vertex winding order and therefore turn it inside-out, unless you also compensate with:

model.set_attrib(CullFaceAttrib::make_reverse());

David

neat, thanks.