arkit_flutter_plugin icon indicating copy to clipboard operation
arkit_flutter_plugin copied to clipboard

Feature request - childs of a node

Open niklasbartsch opened this issue 4 years ago • 7 comments

  1. I would love to access the nodes of a ARKitController in an array

  2. I want to access the childs of a node I have a .dae with several nodes and if I add it to my ARKitController and use the TapRecognizer I can access the names of the childs, but I would love to change their material.

niklasbartsch avatar Nov 14 '19 12:11 niklasbartsch

Hi @niklasbartsch ,

  1. In case you add own nodes, it is easy to save them in a list yourself. When you load an object from a file, it may contain lots of nodes. As object mirroring between ARKit and the plugin is a relatively costly operation, I would not be happy to add it without need. Do you have an example where it is a "must-have" feature?

  2. I will add a method, which will provide a node by its name soon.

Thanks!

olexale avatar Nov 14 '19 15:11 olexale

  1. Ok I will do that
  2. Thats cool! Thank you!

niklasbartsch avatar Nov 15 '19 09:11 niklasbartsch

Let's keep the issue opened while coding is not done. :)

olexale avatar Nov 15 '19 10:11 olexale

Accessing a child node is much required... many of my .scn assets have child nodes... sample usecase would be applying a vinyl on one door of a car model and door can be one child node

anoop4real avatar Nov 15 '19 13:11 anoop4real

Another use case would be having the ability to highlight one of the child nodes to indicate a point of interest during a presentation

andyshephard avatar Jan 13 '21 11:01 andyshephard

I see the Issue is Open.

@olexale Any Plans for Access to child Nodes in ARKitReferenceNode.

Thanks !!

sikandernoori avatar Jun 05 '21 13:06 sikandernoori

This appeared to be a much more complicated problem than it looked 😅 In fact, I rewrote the whole serialization/deserialization mechanism, and still, we're not there yet. Though now it's possible to update node's parameters and set material via the update method. Please refer to the Midas sample. Let's keep this issue opened as child nodes still on their way.

olexale avatar Jun 06 '21 15:06 olexale