SpiderPig Posted May 3 Share Posted May 3 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). Quote Link to comment Share on other sites More sharing options...
Josh Posted May 4 Share Posted May 4 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. 1 Quote 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 More sharing options...
SpiderPig Posted May 4 Author Share Posted May 4 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? 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted May 4 Share Posted May 4 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. Quote 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 More sharing options...
SpiderPig Posted May 4 Author Share Posted May 4 Oh right, I follow now. Thanks. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted May 4 Author Share Posted May 4 Actually SetMaxForce was only 100 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.