Programing issue

Hello, I need to be able to move a 3d object with the mouse when you click that object. I just need to rotate it left or right when it is selected (I have 6 layers as this is a combination lock.) (I am working on a project and I am lacking in the code department) once I know the code to select, drag and unselect the layer it should be fine.

Hi,

Maybe the Physics.Raycast method could help you solve the problem. Rotating was covered in the Project Boost and Argon Assault projects in the 3D course.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms