rotation

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

rotation

Post 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();
Herp derp.
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Re: rotation

Post 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
Herp derp.
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Re: rotation

Post by darksmaster923 »

bump?

sorry im just impatient
Herp derp.
Post Reply