Page 1 of 1

rotation

Posted: Sun Feb 03, 2008 8:41 pm
by darksmaster923
hey guys, i am trying to make my scripted weapon replicate the pitch of the player, but it does not work. any help?

Code: Select all

		PositionToPawn("player", -3, 85, 7);
		self.ideal_pitch = self.camera_pitch; //rotate with mouse movement
		ChangePitch();

Re: rotation

Posted: Mon Feb 04, 2008 1:58 am
by darksmaster923
ok i got the rotation to work, the other problem is that the gun spot is fixed, so if i look up the gun doesnt follow and goes out of screen

Re: rotation

Posted: Thu Feb 07, 2008 7:12 pm
by darksmaster923
bump?

sorry im just impatient