Hello, I would like a script or a link to a script so that when I go against an object tagged ‘wall’ the gun rotates 90 degrees upwards.
1 Answer
1This is not a place to ask for scripts. Try making it yourself and we will try to help you with it the best we can.
Translating objects:
Raycast:
Javascript:
http://forum.unity3d.com/threads/34015-Newbie-guide-to-Unity-Javascript-(long)
Also : http://www.lmgtfy.com/?q=unity+gun+wall
– AlucardJay