Quantcast
Channel: Questions in topic: "follow"
Viewing all articles
Browse latest Browse all 536

my gun wont follow my mouse

$
0
0
my gun is on my fps conntroller but wont follow my mouse, the gun stays in front, instead of looking down with me it says out front, in front #pragma strict function Update () { if(Input.GetButtonDown("Fire2")) { transform.localPosition = Vector3(0,0.518,0.808); } if(Input.GetButtonUp("Fire2")) { transform.localPosition = Vector3(0.543,0.331,0.832); } } this is my only script right now, is this effecting the aim, its for aiming down sights

Viewing all articles
Browse latest Browse all 536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>