I am new to sceneform sdk for Android . I have added one Transformable Node
, then i applied some rotation , scaling and changed its position also. Now on click of button i need to place second node with same rotation , scaling and position.
For that what i did is:
Node nodeTwo = new Node(); // second node
nodeTwo.setLocalPosition(nodeOne);
nodeTwo.setLocalRotation(nodeOne);
nodeTwo.setLocalScale(nodeOne);
nodeTwo.setRenderable(renderable);
I have also tried with setWorldPosition() , setWorldRotation().
. But nothing works , second node got placed on fix position and rotation.
Can I do something to 'fix' this?