I need a grid (as a ruler) in the forground of a mesh (load from 3d model file) to measure the size of some parts of the mesh.
I implement this requirement by below steps:
- load the 3d model file to the scene
- create a plane
a. set it’s material with GridMaterial (gridRatio=1.0)
b. move the plane to the the postion by the 3d model mesh (make sure the plane just next to the 3d model mesh)
The following questions:
- this implementation is right or not, or there is a better solution?
- when the 3d model mesh apply
positionactions, how to adjust the grid plane?
- for the grid plane:
a. should big enough to cover the 3d model mesh
b. should disable
rotationaction (the 3d model can
c. can show or hiden by a 2D ui button at any time, and need to make sure the measure is accurate