Game Development Community

PhysX

by Kirk Haynes · 01/11/2007 (2:15 pm) · 11 comments

I have integrated a PhysX framework in TGE. I have the default TGE TerrainBlock loading and can drop a PhysX box or sphere shape on the terrain and watch them interact.

The integration was done in SceneObject, where I added a static member class which handles initialization of the PhysX SDK. The PhysXSDK class also holds a 'default' PhysXScene base class pointer that handles the basics of a PhysX scene, so all sceneobjects can use the default PhysX scene, and/or another dynamic PhysX scene, as well as adding themselfs to the TGE scenegraph. My demo default scene, derived from PhysXScene, handles creating the PhysX version of the TGE TerrainBlock.

I've also created dynamic PhysX scene support, so additional physx scenes can be scoped as needed in an environment.

On to integrating Interiors. After that, I'll add the majority of the stock TGE demo game classes.. Player, Item, Projectile, Explosion, etc. so they can interact in a PhysXScene as well.

This implementation coexists with TGE's container/convex collision system, but runs asynchronously, starting and finishing in the advanceObjects method.

#1
01/11/2007 (2:19 pm)
Neat. Any video on this?
#2
01/11/2007 (2:44 pm)
word!
#3
01/11/2007 (6:37 pm)
Sounds like some great work, be sure to keep us updated, highly anticipating the results. :)
#4
01/12/2007 (7:28 am)
Would be great to know of future progress :)
#5
01/12/2007 (9:30 am)
@Michael: I'm not set up to make videos.. any suggestions?

@Orion: You have an impressive set of published resources. Nice work, and thank you.

@Chris: Thanks for your comments. You're an interiors expert.. just the person I'm looking for!

@Pisal: I'll keep you posted. I like your glow effects and game artwork! Very nice. Sorry about it making you color blind though! :-)
#6
01/12/2007 (2:48 pm)
will you be releasing this?
#7
01/12/2007 (6:04 pm)
@Sean: That could be arranged. Stay tuned here for an update.
#8
01/13/2007 (4:08 am)
Quote:I'm not set up to make videos.. any suggestions?
You could try www.wisdom-soft.com/products/autoscreenrecorder.htm, which allows you to do video screen capture without a capture card (I did my game video capture with it, results were pretty good I thought).
#9
01/13/2007 (9:11 pm)
I has worked before with PhysX on another engine, but was waitng when somebody do integration of the PhysX into the TGE.
This is very important point in TGE evolution...
anyway, Congratulations!!!!!
will be wating for updates
#10
01/15/2007 (8:47 am)
oustanding - cannot wait...very interested, indeed!
#11
02/09/2007 (7:38 am)
Sorry for the delay. I'm still working on the demo game. I'm working with a new artist that will greatly improve the visual quality of any demo I would have released previously. I was asked to put up 'something' so I created a very short video, PhysXBoxes.avi. You can download it from this link: http://ftp.kirkgames.com/ The video doesn't stream, so download it first then play it in Windows Media Player.