liu.yan Posted July 6, 2017 Share Posted July 6, 2017 as mentioned in the title, those MeshClusterObjects are selectable in Editor Environment, while be unselectable in runtime, we can't select them in runtime environment, which is what I'm wondering Link to comment
silent Posted July 6, 2017 Share Posted July 6, 2017 liu.yan You can check how the intersection work inside Editor (sources are located in <SDK>/data/editor) and implement basically the same logic in runtime. Anyway you can't select single object from ObjectMeshCluster inside Editor as well. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
liu.yan Posted July 6, 2017 Author Share Posted July 6, 2017 Thank you~ we had solved the problem by calling createBounds on the mesh. Another problem on selection: how to determine which part of mesh cluster is selected, or which instance of the mesh in a cluster is selected? Link to comment
silent Posted July 6, 2017 Share Posted July 6, 2017 liu.yan I'm afraid it's not really possible, because ObjectMeshCluster is a single object and selection is affecting all object at once. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts