我对增强现实和ARCore都很陌生。我试图渲染一个场景形式的对象,但应用程序总是崩溃,并给出这个错误。
java.lang.NoSuchMethodError: No virtual method setUpdateMode(Lcom/google/ar/core/Config$UpdateMode;)V in class Lcom/google/ar/core/Config; or its super classes (declaration of 'com.google.ar.core.Config' appears in /data/app/com.example.fir
我是为iOS和安卓开发AR游戏的初学者。我有以下问题:
ARKit for iOS和ARCore分别支持什么类型的3D模型格式?(我尝试过.dae和.obj是由ARkit支持的,还没有测试ARCore。)
我们的3D模型供应商只能提供我们的FBX格式。如何将其转换为ARKit和ARCore支持的格式?我试过使用3D模型转换器,但转换后的模型没有纹理。
在SceneView中,TransformableNode手势在对象上不起作用。
我在SceneView上显示了一个3D对象。当我向SceneView的场景提供TransformableNode作为第一个孩子时,没有手势起作用。但是当用ArFragment做同样的事情时,一切都会正常工作。
private fun createNode() {
val transformationSystem = makeTransformationSystem()
val transformableNode = TransformableNode(transformationSystem).a