# When using handles to pan or rotate node, the node disappears

**URL:** <https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809>\
**Category:** HOOPS Visualize Web\
**Created:** [April 3, 2023, 6:19am UTC](https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809 "2023-04-03T06:19:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![619944680](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/619944680/32/516_2.png) [@619944680](https://forum.techsoft3d.com/u/619944680)\
**Post date:** [April 3, 2023, 6:19am UTC](https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809/1 "2023-04-03T06:19:45Z")

</div>

When I use handles to pan or rotate a node , the node disappears. I checked the center point of the node after its disappearance, which is 20000 meters away from the original center point.

For example, the X value of the original center point is 78, and the X value after translating a point is 14484.  
 ![74efd195381f774ea9759bd948f3a334](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/f8aa3cb48cd71bf3c8184c6b383f3a6d458a1323.png)

![2](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/06b4c632fef74707a7226a9e2f3eca99c38b921f.gif)

What may be the reason?  
Thanks.

---

<div class="post-metadata">

**Author:** ![guido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/guido/32/115_2.png) [@guido](https://forum.techsoft3d.com/u/guido)\
**Post date:** [April 3, 2023, 3:21pm UTC](https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809/2 "2023-04-03T15:21:13Z")

</div>

Hi,

is this behavior reproducible in our standard webviewer?

---

<div class="post-metadata">

**Author:** ![619944680](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/619944680/32/516_2.png) [@619944680](https://forum.techsoft3d.com/u/619944680)\
**Post date:** [April 4, 2023, 12:51am UTC](https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809/3 "2023-04-04T00:51:42Z")

</div>

> [@guido](#):
>
> producible

Hi，guido.  
This behavior does not producible in our standard webviewer,It happened in the method I repackaged.  
I haven’t found any possible reasons for this behavior.  
So I would like to seek your help and see what reasons may cause a significant amount of translation or rotation

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [April 6, 2023, 10:12pm UTC](https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809/4 "2023-04-06T22:12:07Z")

</div>

Hello,

The issue might be that your implementation is not taking into account the net node matrix of the selected item:  
[https://docs.techsoft3d.com/communicator/latest/api\_ref/viewing/classes/Communicator.Model.html?highlight=getnodenetmatrix#Communicator.Communicator.Model.getNodeNetMatrix](https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Communicator.Model.html?highlight=getnodenetmatrix#Communicator.Communicator.Model.getNodeNetMatrix)

We have a short example of adding a handles operator that might prove useful as a reference guide:  
[https://docs.techsoft3d.com/communicator/latest/tutorials/additive-manufacturing/handles.html#add-a-handles-operator](https://docs.techsoft3d.com/communicator/latest/tutorials/additive-manufacturing/handles.html#add-a-handles-operator)

One quick note: we are currently updating the link on the handles operator to properly show the video. At this time, it’s not available for playback.

Thanks,  
Tino

---

<div class="post-metadata">

**Author:** ![619944680](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/619944680/32/516_2.png) [@619944680](https://forum.techsoft3d.com/u/619944680)\
**Post date:** [April 7, 2023, 6:51am UTC](https://forum.techsoft3d.com/t/when-using-handles-to-pan-or-rotate-node-the-node-disappears/1809/5 "2023-04-07T06:51:21Z")

</div>

> [@tino](#):
>
> your implementation is not taking into account the net node matrix of the selected item:

I rechecked my code,It’s my implementation is not taking into account the net node matrix of the selected item.  
Now the problem is solved.  
Thanks,Tino 😀
