wrong collide result

Post Reply
3100889812
Posts: 1
Joined: Mon May 30, 2022 11:01 am

wrong collide result

Post 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
User avatar
drleviathan
Posts: 849
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: wrong collide result

Post 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.
shallshe
Posts: 3
Joined: Wed Nov 02, 2022 7:32 am

Re: wrong collide result

Post 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.
davidsmithhello653
Posts: 1
Joined: Sat Jul 30, 2022 8:33 am

Re: wrong collide result

Post 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.
Post Reply