Dirso
18-02-2007 19:52:38
Hi,
I have a racing game with OgreOde (Dagon) working nicely, but I really liked PhysX and I think it has many more features than Ode. My question is: could someone give some guidelines about changing my physics lib?
1) What kind of terrain (or plugins) should I use for external tracks like in the desert and what should I user for "indoor" races?
2) What is the best way to make my vehicle? I saw some betajaen work on this subject.
Thanks a lot,
Dirso.
Well I would use the PLSM2 for the track personally, but you could just a regular heightfield. It depends on what size of a track you want.
Vehicles are constructed with wheel shapes that are connected to a chassis body. It's not too difficult, there's lots of code available in both Nx and NxOgre format.
betajaen
18-02-2007 20:46:32
Bare in mind, wheel shapes aren't out yet. In RC3 though you can get away with motor joints and spheres (as wheels).
Wait until the next version of NxOgre, you'll have terrain in both flavours (Regular Ogre and PLSM2) and a full wheel system.
Dirso
18-02-2007 21:56:09
Hi,
Thank you both for the advise.
@betajaen: When are you gonna to release those features? Will this new release be compatible with Dagon? I tried to update my project to Eihort but I had a lot of problems with CEGUI and OIS.
Thanks,
Dirso
Game_Ender
19-02-2007 00:28:21
Did you upgrade both CEGUI and OIS at the same time? The changes are that major, I am sure the demos will help you out with the differences.
Dirso
19-02-2007 03:54:08
Hi,
OIS was easy, I think, since I couldn't run the game yet.
But CEGUI is a totally different story, there are no good nor complete demos and I had too much StaticText, Panes, Buttons created at run-time and some of them are gone (StaticText ie) and so many methods are now just to use SetProperty - and I think this is so non-OOP. I really didn't see that comming.
BTW: When I asked in the CEGUI forum about how to upgradem the told me to look at the "release notes" and it actually doesn't explain anything. I'll prob change the GUI library.
Thanks,
Dirso.
syedhs
19-02-2007 09:08:38
CEGUI is actually quite okay at this moment (version 5.0) as pretty much all of the layouts can be done in an XML text file. CEGUI people have done *lots* of work for free that unless it is a major design error, the library is good for use.
Dirso
19-02-2007 13:33:00
@syedhs: CEGUI is a good library and the XML stuff is a very feature. My problem is that I have to create most of the buttons at run-time, since it depends on the number of tracks, body parts, championships, and other features installed.
Dirso
20-02-2007 13:57:26
Hi,
I finally could update my CEGUI code, but I couldn't run it because OgrdeOde is not compatible with Eihort (I think), but since I don't plan to use OgreOde anymore, I'll wait the next NxOgre release.
@betajaen: Please, tell me if you plan to release it anytime. If I can do anything to help just let me know as well, ok?
Thanks a lot for this amazing work,
Dirso.