0

I converted FBX file to SFB in Android Studio. When I placed the model using Sceneform the model is placing at position Y-Axis 0 but the in actual FBX file model is showing at some height from surface (having some value for Y-Axis).

How to fix it?

Rahul Rastogi
  • 4,486
  • 5
  • 32
  • 51

1 Answers1

0

Take a look into your SFA file and remove the recenter: 'root' line. This is the default and will put your model on the ground. (https://developers.google.com/ar/develop/java/sceneform/sfa)

Steven Mohr
  • 1,167
  • 6
  • 19
  • I tried but it didn't work for SFB generated from FBX file. Though, recenter=false worked perfect but the file was OBJ in this case. – Rahul Rastogi May 25 '19 at 07:22