Question by
afortiori05 · Apr 08, 2019 at 02:14 AM ·
gameobjectmouseposition
how to have a gameobject move with the mouse cursor 3D whenclicked on?
ok so pretty much im new to unity and c#. I want to make a game where when i click on a cube in the scene i will be able to move it wherever the mouse is, then when i click again it will stay where ive moved it to. i dont know if this is really easy or really hard to code like i said im new so any help is much appreciated.
Comment
Your answer

Follow this Question
Related Questions
Making GameObject move in the direction of my mouse (3d) 0 Answers
How can I make the game object follow the mouse? 1 Answer
Help me! Create a game object falling from the top scene at click mouse point! T________T 0 Answers
Mouse follow help 0 Answers
How do I move a GameObject on local z axis with a moving camera? 1 Answer