irrlicht 1.31 physx example?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
neil
Posts: 12
Joined: Fri Sep 28, 2007 1:04 am

irrlicht 1.31 physx example?

Post by neil »

does anyone know of a more recent physx example for irrlicht? i want to use physx with irrlicht but cannot find a suitable example/tutorial.
Obeleh
Posts: 28
Joined: Tue Oct 02, 2007 7:46 am

Post by Obeleh »

same problem here :(
DevilSnake
Posts: 6
Joined: Wed Oct 17, 2007 6:27 pm
Location: Germany
Contact:

Post by DevilSnake »

i've the same problem here. the current example on the tutorialssite is good, but some function could not found in the source of 1.31.

thx for help :wink:
mfg
DevilSnake
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

You could read and understand the code and than modify it to fit with the current irrlicht versions.
Stupid copy and paste doesn't help you at all
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
DevilSnake
Posts: 6
Joined: Wed Oct 17, 2007 6:27 pm
Location: Germany
Contact:

Post by DevilSnake »

if I get that right, the only difference is in the ISceneNode class. the functions "OnPreRender" and "OnPostRender" was replaced by the function "render". if that ain't right, please say that :wink:
mfg
DevilSnake
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, render is still render. OnPreRender is OnRegisterSceneNode and OnPostRender is OnAnimate
DevilSnake
Posts: 6
Joined: Wed Oct 17, 2007 6:27 pm
Location: Germany
Contact:

Post by DevilSnake »

a great. thanks a lot...
mfg
DevilSnake
Sebastian Roll

Post by Sebastian Roll »

You might check out our TableTop project.
It interfaces physX to irrlicht transformation (irrSceneNode->setPosition( nxActor->getGlobalPose() ).
Well documented and sources are available online.
Used irrlicht lib is: irrlicht-1.3.1
Used physX SDK is: physx-2.7.2

Goto: http://rocker.uttx.net/
You find the core function in photo.cpp
Beware - we did not inherit an irrlicht scenenode, but used aggregation for both classes: IAnimatedMeshSceneNode and NxActor.

Regards, Sebastian Roll
Post Reply