No idea how to interact with items...
I would really like to make this item interface where when you pick up a item you can inspect it, rotate it .(like in the game "Gone Home" IMAGE: http://imgur.com/2PIiRDT ) Been stuck on this for days. Any help would be appreciated.
Comment
Answer by Soos621 · Jul 02, 2016 at 11:13 PM
Check out input.getmousebutton or input.getkey in the scripting documentation as for the interaction use a raycast from the camera and see if it hits the inspectable object from there you can use the input to control rotation etc.
Answer by npoguca · Jul 03, 2016 at 07:34 AM
Look into Quaternions and Euler Angles, also local and world rotation. You'll have to rotate the object using transform.rotate()
according to the input.
Your answer
![](https://koobas.hobune.stream/wayback/20220612084126im_/https://answers.unity.com/themes/thub/images/avi.jpg)