Jump to content

Kinematic Joint Jitter on edges


SpiderPig
 Share

Recommended Posts

I'm moving the cylinder around with a kinematic joint.  As you can see in the video it will slide nicely against smooth surfaces, but anything with hard edges it can sometimes get stuck, and it keeps trying to push through it.  You can see if I keep the key down to move the cylinder toward the box when it's at the corner it will go through slightly and begin to jitter.  Is this a physics issue or something I should program into the controller?  E.g.  Stop trying to moving forward if a collision is detected (I would have thought though the physics system should be handling this).

 

Link to comment
Share on other sites

You may need to lower the max force and torque the joint is allowed to use. It looks like you might be using very high values.

Also, I have found convex hulls to provide better collision results than polygon meshes.

  • Thanks 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

1 minute ago, SpiderPig said:

Yeah they are bit high.... FLT_MAX for both force & torque ^_^  No way I was letting that cylinder be influenced by anything!  I'll try a convex hull too.  Is that what your player controller uses?

I mean for the scene collision. I use convex hulls for brushes now and they work a lot better.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...