摘要 |
<p>Disclosed is a method for click-selecting an object in a three-dimensional virtual reality scene, including: receiving a positioning signal of a target object in a three-dimensional virtual reality scene; according to the positioning signal, projecting the target object to a set position of a display window; if the target object presents at the set position, after perceiving a behaviour of clicking the target object, acquiring the corresponding two-dimensional coordinates of the click position in the display window; according to the two-dimensional coordinates, determining a single body corresponding to the click position; acquiring a corresponding leaf node of the single body in a tree-like management structure, and acquiring a father node of the leaf node; if the attribute of the father node is unlock, selecting the single body; and if the attribute of the father node is lock, tracing a node, the nearest father node of which has an attribute of unlock, from the father node along the root node direction of the tree-like management structure, and selecting a combination body corresponding to the node. Also disclosed is a device for click-selecting an object in a three-dimensional virtual reality scene.</p> |