Has learned to use a little Newton Dynamics Engine, now turn for Open Dynamics Engine what to compare and choose for itself.
Has looked for examples in the Internet - nothing has found: (
Example on this site very old.
Who used ODE, give me please examples how to use ODE 0.7 in Irrlicht 1.1
ODE + Irrlicht = (How To?)
ODE + Irrlicht = (How To?)
Think Fast, Act Right... OR Be Dead
-
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
Hello,
If that can help you, I have made a small sample with Irrlicht and Ode 0.7.
You can find it here :
http://www.irrlicht.fr/forum/viewtopic.php?id=25
If that can help you, I have made a small sample with Irrlicht and Ode 0.7.
You can find it here :
http://www.irrlicht.fr/forum/viewtopic.php?id=25
Simson, looks cool
Thanks!!!!
May be update an example on a site on more modern?
The question still opened. The more examples - the better
And one more question on a theme. How in ODE to show collisions?
For Newton it looks so:
And in ODE how to make?
Thanks!!!!
May be update an example on a site on more modern?
The question still opened. The more examples - the better
And one more question on a theme. How in ODE to show collisions?
For Newton it looks so:
Code: Select all
void _cdecl NewtonDebugCollision(const NewtonBody* body, int vertexCount, const float* FaceArray, int faceId) {
core::vector3df p0 (FaceArray[0], FaceArray[1], FaceArray[2] );
const video::SColor c0(255,55,255,0);
for (int i = 2; i < vertexCount; i ++) {
core::vector3df p1( FaceArray[(i-1) * 3 + 0], FaceArray[(i-1) * 3 + 1], FaceArray[(i-1) * 3 + 2] );
core::vector3df p2( FaceArray[i * 3 + 0], FaceArray[i * 3 + 1], FaceArray[i * 3 + 2] );
core::triangle3df t;
t.set(p1*1, p2*1, p0*1);
GEngine.Driver->draw3DTriangle(t, c0);
}
}
Think Fast, Act Right... OR Be Dead
The ODE manual is here: http://www.ode.org/ode-latest-userguide.pdf
Your question is very straightforward once you have read the manual.
Your question is very straightforward once you have read the manual.
Intellectuals solve problems - geniuses prevent them. -- Einstein
#irrlicht on irc.freenode.net
#irrlicht on irc.freenode.net