Data Realms Fan Forums
http://45.55.195.193/

Dropships and FacingAngle
http://45.55.195.193/viewtopic.php?f=1&t=25971
Page 1 of 1

Author:  Zaneo [ Tue Oct 25, 2011 1:49 am ]
Post subject:  Dropships and FacingAngle

Heh again with the questions, I know. I was just wondering how would one tell if the ships is tilting, could I use FacingAngle? Or do DropShips not have a facing angle? is there a horizon angle I can look at?

Author:  Roast Veg [ Tue Oct 25, 2011 1:55 am ]
Post subject:  Re: Dropships and FacingAngle

RotAngle returns radians.

Author:  Zaneo [ Tue Oct 25, 2011 2:01 am ]
Post subject:  Re: Dropships and FacingAngle

Thank you very much, the follow up to this would be if I can control the thrust in the thruster individually? Would it be done by accessing the emitters, and then bursting? with AEmitter:TriggerBurst ? Another approach could be attaching a self.AngPID onto the dropship in order to rotate it? or can I just update RotAngle directy?

EDIT: Found about the pid,silly me. The PID updates the RotAngle, it just accounts for error. I feel it would be cheating though to just force the rotation instead of making the thrusters try to overcome it. Unless the PID would just try to use the thrusters.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/