Create a c# script that creates a bounding box around a 3D object in Unity 3D. C# script to be used in an augmented reality application.
The box can used to scale object and rotate object via hand gestures.
Grabbing the corners can be used to scale object
Grabbing the side edges can be used to rotate object.
Also, the box around object can be hidden or made visible by user at runtime.
When app is run and a 3D object loads initially, the object should have no box around it. User can click / tap on object and that shows bounding box. The user can then use the handles on bounding box to rotate / scale object. User can click / tap on 3D object again to hide bounding box.
The script should provide functionality similar to this video except don't need the functionality to move objects:
[login to view URL]
A c# script that creates a box around a 3D object in Unity 3D for an augmented reality app. The box can used to scale object and rotate object.
Box around object can be hidden or made visible by user at runtime.