• Advertisement
Sign in to follow this  

PhysX joint jitters.

This topic is 3327 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm creating my joints like the source code below and they are jittering all over the place, how can I fix it?
NxD6JointDesc JointDesc;
JointDesc.actor[0] = actor1;
JointDesc.actor[1] = actor2;
JointDesc.twistMotion = NX_D6JOINT_MOTION_FREE;
JointDesc.swing1Motion = NX_D6JOINT_MOTION_FREE;
JointDesc.swing2Motion = NX_D6JOINT_MOTION_FREE;
JointDesc.xMotion = NX_D6JOINT_MOTION_LOCKED;
JointDesc.yMotion = NX_D6JOINT_MOTION_LOCKED;
JointDesc.zMotion = NX_D6JOINT_MOTION_LOCKED;
JointDesc.setGlobalAnchor( GlobalAnchor );
g_Scene.createJoint( JointDesc );




[Edited by - CodaKiller on January 15, 2009 4:12:10 PM]

Share this post


Link to post
Share on other sites
Advertisement
Alright this problem is solved but I'm not 100% sure as to why I have to do it but I believe PhysX was not ignoring collisions from multiple actors connected to the same parent actor.

So I used setActorPairFlags to set the child actors to NX_IGNORE_PAIR which seems to have worked!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement