- Home /
 
 
               Question by 
               GhostStudios7 · Nov 09, 2020 at 03:29 PM · 
                programmingsnapping  
              
 
              After Snapping to ground the objects comes towards the camera.(Runtime)
Hey everyone I'm creating a building system. In that system, I have a hotkey to spawn a foundation. And there's script that snaps the foundation to the ground. But after snapping the foundation comes towards the camera without any reason.
Here's the snapping code. Can anyone help me:( [1]: /storage/temp/170688-capture.png
 
                 
                capture.png 
                (28.7 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Multiple Cars not working 1 Answer
C#: Using a class to make items with similar properties? 1 Answer
rigidbody AddForce(transform.left) error 1 Answer
Can I ensure all script executed within 1 frame? 1 Answer
Organizing Enemy Movement Types 0 Answers