Page 1 of 1

Can bullet be used for 2D collision detection?

Posted: Sun Jun 14, 2020 1:43 am
by closer
I want to deal with the collision detection for circles, ellipses, polyhedrons. I want to know whether Bullet can be used for the work.

Re: Can bullet be used for 2D collision detection?

Posted: Mon Jun 15, 2020 7:37 am
by S1L3nCe
Hello,

There is 2D shapes in Bullet (Convex2DShape and Box2DShape)
Otherwise you can lock linear and angular axis of RigidBodies with setLinearFactor and setAngularFactor
https://web.archive.org/web/20170602065 ... e_Snippets

Box2D engine should be better suitable if you don't need 3D in your project