Data Realms Fan Forums http://45.55.195.193/ |
|
Simulating sharp-aim http://45.55.195.193/viewtopic.php?f=73&t=26446 |
Page 1 of 1 |
Author: | Asklar [ Mon Nov 21, 2011 4:01 am ] |
Post subject: | Simulating sharp-aim |
Well, in my gunship project, I made a gatling gun which is an attachable on an ACRocket. Everything works fine except for the fact that I can't make it sharp-aim. How can I move the camera like if I was sharp-aiming with this? |
Author: | Abdul Alhazred [ Mon Nov 21, 2011 4:01 pm ] |
Post subject: | Re: Simulating sharp-aim |
You can set the Actor's ViewPoint to get a SharpAim effect. Code: self.ViewPoint = self.Pos + Vector(100,0):RadRotate(AimAngle) |
Author: | trotskygrad [ Mon Nov 21, 2011 4:45 pm ] |
Post subject: | Re: Simulating sharp-aim |
Abdul Alhazred wrote: You can set the Actor's ViewPoint to get a SharpAim effect. Code: self.ViewPoint = self.Pos + Vector(100,0):RadRotate(AimAngle) would this create the accuracy effect of a sharpaim though? |
Author: | Lizardheim [ Mon Nov 21, 2011 5:47 pm ] |
Post subject: | Re: Simulating sharp-aim |
Nah it'd only move the camera. To make the aim more accurate you'd have to adjust the spread of the emitter. |
Author: | Asklar [ Mon Nov 21, 2011 7:45 pm ] |
Post subject: | Re: Simulating sharp-aim |
So it was easy. Thanks for the help! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |