Answered
Is there a way to select nodes in 3D programatically? I tried to use scene.selectedNode but I don't see anything in 3D area selected.
Is there a way to select nodes in 3D programatically? I tried to use scene.selectedNode but I don't see anything in 3D area selected.
Example: scene contains a node called "box1"... attach this script to the 3D annotation:
[b]var boxmesh = scene.meshes.getByName("box1");
scene.selectedNode = boxmesh;[/b]
Note that disabling the default selection tool behavior doesn't stop you using the above method to select a node, and it still gets a highlight and bounding box.