Overlapping of collision bodies

Post Reply
adityapoudel
Posts: 1
Joined: Tue Jul 15, 2014 2:46 am

Overlapping of collision bodies

Post by adityapoudel »

I am new to this forum and don't know how things go around here. Hoping for your helpful responses.

I am starting out in bullet. I am currently working in a project where I have to place smaller polygons of varying dimensions within the boundary of a larger irregular polygon. The larger polygon may contain holes at certain parts within its surface. The target of the project is to occupy as much area as possible. I am using bullet to collide the smaller polygons so that they scatter along the surface of the larger polygon within its boundary. The problem I am facing right now is that some of the smaller polygons tend to overlap among themselves or with the boundary of the larger polygon which is unacceptable.

I tried with changing some of the parameters in btContactSolverInfo but with vain. As I said before I am just starting out in bullet and don't know much. Hope you can point me in the right direction.
Post Reply