zirman / arcore-filament-example-app

ARCore Filament Example App
MIT License
95 stars 15 forks source link

[Question]: Where to change the orientation of the model #13

Closed Drjacky closed 6 months ago

Drjacky commented 2 years ago

I've played with this:

filament.engine.transformManager.getInstance(filamentAsset.root),
                        m4Identity()
                            .translate(translation.x, translation.y, translation.z)
                            .rotate(rotate.toDegrees, 0f, 1f, 0f)
                            .scale(scale, scale, scale)
                            .floatArray,

But I wasn't successful to change the default orientation of the model. My model is vertical by default but, when I replace your model with mine, it falls on the flat.