tsky
02-03-2007 13:47:30
Hi,
how do i make a Door ?
I want to make a normal door with an angle on the left side. The door should rotate about the anchor point of the joint. I give as first body of the joint the door but the second is the "world" or an static body!
At this point my joint has an exception if one of my bodies is an static object:
nxogre-0.4rc3\nxogre\source\nxogre_joint.cpp
I try an revoluteJoint.
Is there any tutorial for NxOgre for this simple kind of things ?
tom
how do i make a Door ?
I want to make a normal door with an angle on the left side. The door should rotate about the anchor point of the joint. I give as first body of the joint the door but the second is the "world" or an static body!
At this point my joint has an exception if one of my bodies is an static object:
nxogre-0.4rc3\nxogre\source\nxogre_joint.cpp
mJoint = mFirst->owner->mScene->createJoint(mJointDesc);
mJoint->userData = this; <- exception
I try an revoluteJoint.
Is there any tutorial for NxOgre for this simple kind of things ?
tom