Log in or register to post comments

Object Looking for the Camera

December 10, 2012 - 1:43pm #1

Its is possible to create a button, then when press the touch buttom the 3d object bone, point to the Augmented Reality cell phone camera, and when the button is release, the 3d object bone return to the start point.

Object Looking for the Camera

December 12, 2012 - 12:47pm #3

See: http://docs.unity3d.com/Documentation/ScriptReference/Transform.LookAt.html

You would provide the ARCamera's transform as the argument. To return to the original orientation, simply save that position and do the same when you want to rotate back. 

There is also a SmoothLookAt script provided with the standard assets import in Unity. This will rotate the object smoothly.

Object Looking for the Camera

December 11, 2012 - 3:14am #2

Sorry, your question is not clear.

Could you please try asking this again?

thanks

N

Log in or register to post comments