gun.position = Vector3 (0.9,-0.49,0.38);
I am using this code to move a transform to the position above
whenever I play the scene it moves it a different location usually (2.8,-5.1,0.9)
there is not pattern between the position I enter and the position which it moves to?
Wat are possible reasons for this?
hmm how about this manual code:
gun.transform.position.x = <place a number>;
gun.transform.position.y = <place a number>;
gun.transform.position.z = <place a number>;
i think i havent try that problem.. hehehe
3dDude
2
Well, You could try gun.localPosition... Other then that I'm not really sure.