Open meszaros-lajos-gyorgy opened 1 month ago
currently this is the only way I can flip a mesh inside out:
loadOBJ('someobject', { reversedPolygonWinding: true })
I learned from when working with the basketball map that torus geometries are for some reason render inside out in Arx, so I have to cover that up by making the polygon doublesided: https://github.com/meszaros-lajos-gyorgy/arx-map-basketball-course/blob/master/src/prefabs/hoop.ts#L18
I forgot to call toArxCoordinateSystem(geometry) and that fixes the torus, but apart from that it would be nice to have this feature.
toArxCoordinateSystem(geometry)
currently this is the only way I can flip a mesh inside out:
I learned from when working with the basketball map that torus geometries are for some reason render inside out in Arx, so I have to cover that up by making the polygon doublesided: https://github.com/meszaros-lajos-gyorgy/arx-map-basketball-course/blob/master/src/prefabs/hoop.ts#L18