arkit_flutter_plugin icon indicating copy to clipboard operation
arkit_flutter_plugin copied to clipboard

Question: Keep the Node in place/stop planeDetection after first run. Also about dynamic adding object

Open lundin opened this issue 5 years ago • 1 comments

Hi! This project is just too cool. Please keep up the good works of porting this amazing stuff! May i ask (i know this should be used more of a issue tracker but still):

I successfully tried this example: https://github.com/olexale/arkit_flutter_plugin/blob/master/example/lib/custom_object_page.dart

ARKit keeps reestimates the plane and remove/add the node (object) onto the scene as i "move around". I would have like to add the object to the scene and then be able to move around (360) without it being constantly removed/added so certain angles is now impossible to see. Is that even possible ? I read some comment on stack to

let configuration = ARWorldTrackingConfiguration(); configuration.planeDetection = [] self.sceneView.session.run(configuration)

but how would that apply to our config in ARKitSceneView adding similar code in _addPlane ?

And a second question. Are you aware of any way of adding the dae/obj models dynamically (i.e not added to the folder in xcode on build). I guess this is not officially supported (yet) by apple?

lundin avatar Jul 23 '20 21:07 lundin

check this it might help you issue#19

X-SLAYER avatar Jul 28 '20 14:07 X-SLAYER