- Home /
Question by
d-ostapa · Dec 05, 2016 at 07:31 AM ·
scripting probleminstantiate3dpositionmouseposition
How to Instantiate to Mouse Position
Hi. I have a 3D game and I want a object to appear where the player clicks. I have seen some posts explaining it but lots of them gives me many errors and do not work. I would like a C# example.
Comment
Your answer
Follow this Question
Related Questions
Making a shotgun shooting 45 degrees to the left of the mouse 1 Answer
How do I Instantiate a prefab on another game object's position (2D) 1 Answer
Collider.bounds position is wrong? 3 Answers
Fire Projectile based on Model rotation 1 Answer
CharacterController.isGrounded not working,CharacterController.isGrounded Not Working 4 Answers