scratchyrice
20-04-2009 18:10:37
...with any joints, Ive tried it with both fixed and spherical joints, And it simply will not work.
Ive tried that, As you can see, It should move the anchor off up into the sky somewhere, But when i do this, There is no diffrence in the simulation whatsoever. The anchor still apperars to be at the centre of mass of actor b. Obviously this is a rather vital part of joint physics, So im hoping its just a hicup on my part, Any help would be much appreciated.
Cheers
Scratchy
_physxJoint = _myPhysicsSystem->_getPhysXScene()->createSphericalJoint(_actorA->_getPhysXActor(), _actorB->_getPhysXActor(), Ogre::Vector3(1000,1000,1000), myparams);
_physxJoint->setGlobalAnchor(NxVec3(1000, 1000, 1000));
_physxJoint->setGlobalAxis(Ogre::Vector3(0, 0, 1));
Ive tried that, As you can see, It should move the anchor off up into the sky somewhere, But when i do this, There is no diffrence in the simulation whatsoever. The anchor still apperars to be at the centre of mass of actor b. Obviously this is a rather vital part of joint physics, So im hoping its just a hicup on my part, Any help would be much appreciated.
Cheers
Scratchy