Can bullet be used for 2D collision detection?

Post Reply
closer
Posts: 5
Joined: Tue Nov 19, 2019 1:09 pm

Can bullet be used for 2D collision detection?

Post 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.
S1L3nCe
Posts: 50
Joined: Thu Mar 24, 2016 10:22 am
Location: France

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

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