Re: [Plib-users] Newbe Question
Brought to you by:
sjbaker
From: Red <red...@ya...> - 2001-09-30 04:58:17
|
What I was wondering was, how do you deal with roll, pitch, and heading? I know for a walk through you have something like: //turn right heading -= 1.0f; yrot = heading; //turn left heading += 1.0f; yrot = heading; //move foward xpos -=sin(heading*piover180); zpos -=cos(heading*piover180); then: rotate everything translate everything draw to screen I have no idea how to get from this to some basic flying code. I expiramented with some ideas, tried to come up with what the math might look like, but nothing works. So if someone could point me in the right direction, that would be great. --- Steve Baker <sjb...@ai...> wrote: > Red wrote: > > > Hey, I just downloaded plib-1.4.2. I'm using VC++ > 6, > > and when I try to open plib.dsw VC asks me for a > > source safe login. Does anybody know what's going > > on??? > > I have no idea - I don't have much to do with the > Windoze > side of the build mechanism. I know that people do > build > it under MSVC - so this *should* work OK. I can't > imagine > that SourceSafe should be involved. > > > Also me and some friends want to make a sci/fi > flight > > sim. We pretty much understand what it takes to > make > > an fps, but have no idea where to look for > tutorials > > on flight sims. Does anybody have any > suggestions??? > > Well, I design flight simulator software as my > full-time > job - so I could perhaps help with any specific > questions > you have. > > Also, you might want to note that the FlightGear > OpenSourced > flight simulator project (www.flightgear.org) also > uses > PLIB - their mailing list (which has a significant > overlap > with the membership of this list) is a *great* place > to ask > questions about flight simulation. > > I'm not aware of any online tutorials - it's rather > a large > subject area and any comprehensive tutorial would > consume > a dozen books. > > ----------------------------- Steve Baker > ------------------------------- > Mail : <sjb...@ai...> WorkMail: > <sj...@li...> > URLs : http://web2.airmail.net/sjbaker1 > http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net > http://prettypoly.sf.net > http://freeglut.sf.net > http://toobular.sf.net > http://lodestone.sf.net > > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com |