0

Can the 3D models used with the markers be made clickable and rotate able using Unity3D engine and ARToolkit unity. Basically in the AR desktop application we are making , we want to implement this functionality on the 3D models as well. Kindly need help in this matter. ThankYou.

Ahsan Jamal
  • 218
  • 1
  • 3
  • 17

1 Answers1

0

enter image description hereThe only issue you could find is that the Transformation of the AR Tracked Object changes based on the visual information.

If you simply use that as a base object and put any other models as children of that one, you can modify their position and rotation in the same way you would do for any other situation.

So, as you see, the Marker scene has nothing but an AR Tracked Object, this is the object that will be updated with the pose of the marker.

Then, the Cube is a child of this object. If you modify the localPosition or localRotation of the cube it will work as you want it.

The Cube is a child of the Marker scene, its global position and rotation will be a combination of the position and rotation of its parent with its local position and rotation (this is standard 3DEngine / SceneGraph behaviour).

shalafi
  • 3,926
  • 2
  • 23
  • 27