Error while importing FBX with Import Sceneform Asset in Android Studio 3.6

后端 未结 2 1520
借酒劲吻你
借酒劲吻你 2020-12-11 03:06

Im using a sceneform android sdk animation example project and am trying to import my own FBX for test. I add my fbx to sampledata/models and click on Import Sceneform Asset

2条回答
  •  离开以前
    2020-12-11 03:51

    I had this problem and i tried adding the asset manually and it worked.

    for example, I used the obj called andy_dance.fbx

    so what I did was add this in the Gradle build

    sceneform.asset('sampledata/models/andy_dance.fbx',
        'default',
        'sampledata/models/andy_dance.sfa',
        'src/main/assets/andy_dance',
        ['sampledata/models/andy_dance.fbx'])
    

    run or build your app and hopefully, it'll work

提交回复
热议问题