- Home /
my gun wont follow my mouse
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
Comment
Your answer
Follow this Question
Related Questions
2.5d game gun aim 1 Answer
Mouse Aim- Weapons 2 Answers
Set borders to mouse follower? 0 Answers
How to make an object orient to the mouse direction 0 Answers