BigBulle
18-08-2006 23:19:51
Hello !
I started with nxOgre for a couple of days and I must say that it seems really intuitive and powerfull. Great work !
At the moment, I'm trying to use fixed joints but I can't see any result on the screen...
I'm using nxOgre 0.5 preview 3 with Ogre 1.2.2 and PhysX 2.3.3. in VC8.
Here is my code:
I would like that the two heads are glued together but they move totally independently.
What am I doing wrong?
I'm sure that it's a noob's question but I could not find the answer (perhaps it was a noob's search)...
Thanks a lot,
BigBulle
I started with nxOgre for a couple of days and I must say that it seems really intuitive and powerfull. Great work !
At the moment, I'm trying to use fixed joints but I can't see any result on the screen...
I'm using nxOgre 0.5 preview 3 with Ogre 1.2.2 and PhysX 2.3.3. in VC8.
Here is my code:
myCube1 = mScene->createBody("myCube1", "ogrehead.mesh", new nxOgre::cubeShape(1.0f), 10.0f, Vector3(0,120,0));
myCube2 = mScene->createBody("myCube2", "ogrehead.mesh", new nxOgre::cubeShape(1.0f), 20.0f, Vector3(50,125,0));
mScene->createJoint(new nxOgre::joint(nxOgre::joint::FIXED_JOINT, myCube1,myCube2));
I would like that the two heads are glued together but they move totally independently.
What am I doing wrong?
I'm sure that it's a noob's question but I could not find the answer (perhaps it was a noob's search)...
Thanks a lot,
BigBulle