Model fixing in VR space

How do we fix the model in VR space without moving anywhere? IUsusally when we move the model using controllers we can move it. But I want to fix the model in the surface.

@cpinter could you add the node attribute name that controls movability to the developer guide?

I updated the guide, see the bottom of the page.

Also I added a feature in the Data module where you can set this flag in the context menu of nodes and folders, but I think it’s not updated in the downloadable extension yet. I’ll do that very soon.

I tried but there is an error by saying " NameError: name ‘nodeLocked’ is not defined"

nodeLocked refers to a MRML node object. You can use nodeLocked=getNode("My node") to get a node object from node name.

1 Like