On Dec 26, 2004, at 4:16 PM, Frank Condello wrote:
On 26-Dec-04, at 3:54 PM, Asher Dunn wrote:
On Dec 26, 2004, at 9:17 AM, Daniel Lurie wrote:
If curturn is the ship's heading then it should be:
curturn=curturn+turnrate*dt
THEN
ship.turn(curturn*dt)
So * dt in both cases?
No I'd think you'd want ship.turn(curturn)... But I also think you
haven't given us enough information. What exactly is curTurn? A
vector? A quaternion? A double (angle around the Y axis)? What does
the "ship.turn" method do? Is it cumulative? Absolute?
CurTurn is a double. Ship.Turn(curTurn) is just ship.yaw(curTurn), but
I said turn because what I typed into the email was pseudo code.
Asher Dunn
--------------------------------------------------------
President and Head Developer of Fireye Software
<http://www.fireyesoftware.com/>
Make PDFs from your RB app
<http://www.fireyesoftware.com/code/pdfclasses/>
AIM and Yahoo: fireye7517
REALbasic 5.5.3 Mac OS X 10.3.5
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|