Page 1 of 1

wrong collide result

Posted: Mon May 30, 2022 11:09 am
by 3100889812
I an new to bullet and do basic test
I use a box and a sphere ,the box is moving from left to right,sphere is not moving
I change the box rigidbody world postion every frame,getWorldTransform().setOrigin()
and call contactTest everyframe,but the callback comes earlier,in fact the box and sphere not collide,just a little gap。
Image

Re: wrong collide result

Posted: Mon May 30, 2022 3:38 pm
by drleviathan
You're probably experiencing the collision margin of some convex-convex shape collisions. There is an old video on YouTube that illustrates margin.

Re: wrong collide result

Posted: Wed Nov 02, 2022 7:36 am
by shallshe
drleviathan wrote: Mon May 30, 2022 3:38 pm You're probably experiencing the collision margin of some convex-convex shape collisions. There is an old video on YouTube that illustrates margin. five nights at freddy's
This video is very useful for me.

Re: wrong collide result

Posted: Fri Nov 11, 2022 12:27 pm
by davidsmithhello653
Thanks a lot sir, was searching the same information! check buy assignments online if you need any type of help with writing tasks.