Hi. I know this is not an issue, but i need some help, in this topic.
I am looking for realtime scaling of objects/models in ARcore. I found that it can be done using getScaleController() and PinchGesture class. I have a TransformableNode and I want to use the above method and class for achieving realtime scalling of model to update model's dimensions at runtime. I checked the documentation already, but it didn't help me.
here is my code
TransformableNode node =
new TransformableNode(arFragment.getTransformationSystem());
node.setParent(anchorNode);
node.setRenderable(modelRenderable);
node.select();
/ After this I want to use PinchGester or PinchGestureListener and
node.getScaleController() to achieve my goal /
Hi. I know this is not an issue, but i need some help, in this topic. I am looking for realtime scaling of objects/models in ARcore. I found that it can be done using getScaleController() and PinchGesture class. I have a TransformableNode and I want to use the above method and class for achieving realtime scalling of model to update model's dimensions at runtime. I checked the documentation already, but it didn't help me.
here is my code
TransformableNode node = new TransformableNode(arFragment.getTransformationSystem()); node.setParent(anchorNode); node.setRenderable(modelRenderable); node.select();
/ After this I want to use PinchGester or PinchGestureListener and node.getScaleController() to achieve my goal /