I want to add some box(cube) which can enclosure a entity(for example a car or other some things) in the cloud point, and I want to record the center, dimensions and rotation of the box. Now I have some questions.
1. As the dimension of the box is scaled relatively to the bounding-box, So after I rotate the box, the shape of the box will change when I scale the box. Is there a way to change the dimension of the box without changing the shape?
2. After I scale the box, the dimension of the box is also same as before(I use the box function "getDimensions()" ). So How can I get the real dimension of the box after scaling?
I don't know if you understand me while my English is not very good. I will try my best to express, you can ask me if you have any questions.
- 无标题.jpg (78.49 KiB) Viewed 1563 times