Question by 
               unity_UcZbrPYCFQNcMg · Jul 29, 2019 at 08:51 PM · 
                positioning  
              
 
              I'd like to make an object follow the mouse along a plane when the camera is at an angle
Hey guys, so I've been working on a simple problem that's been driving me insane for about a week now.
Basically, I have a plane with an object on it. I have a camera looking down at the plane at 35 degrees with the object in its view. I want to make the object follow the mouse on my screen along the x and z axis only, while retaining its y position. If anyone plays League of Legends, I kind of want it how all the characters move along the plane at a fixed y position even though the camera is at an angle.
I have driven myself mad trying to get this to work. I've used complex trigonometry and my code has turned into a mess. I don't know how to get this simple thing to work! Can someone please give me advice?
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                