rotating-an-AR-object

Steps to use the script :

  1. Import the rotate controller script in your project.
  2. Add the script to the scripts folder.
  3. Now add the script to the prefab in which you want the rotation feature.
  4. Add a box collider to the prefab and set the box collider such that the whole model is contained in the box.
  5. Rotation feature is added to the model, you can build and run to see the feature.