Can bullet be used for 2D collision detection?
-
- Posts: 5
- Joined: Tue Nov 19, 2019 1:09 pm
Can bullet be used for 2D collision detection?
I want to deal with the collision detection for circles, ellipses, polyhedrons. I want to know whether Bullet can be used for the work.
-
- Posts: 50
- Joined: Thu Mar 24, 2016 10:22 am
- Location: France
Re: Can bullet be used for 2D collision detection?
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
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