Collision of SDF objects

Post Reply
Boris94
Posts: 6
Joined: Mon Nov 18, 2019 10:22 am

Collision of SDF objects

Post by Boris94 »

I used ImportSDFSetup example to load sdf, that contains multiple objects. Collision of the objects in sdf is set as mesh, but when they collide in the example, it seems they collide as bounding-boxes.
I used this collision configuration

Code: Select all

m_collisionConfiguration->setPlaneConvexMultipointIterations();
Is there something else that i need to setup in order to make mesh collisions? thanks
Boris94
Posts: 6
Joined: Mon Nov 18, 2019 10:22 am

Re: Collision of SDF objects

Post by Boris94 »

i figured out that collisions are convex hulls of objects, any idea how to change it to mesh collisions?
Boris94
Posts: 6
Joined: Mon Nov 18, 2019 10:22 am

Re: Collision of SDF objects

Post by Boris94 »

there is test_vhacd tool that creates obj so that convex hull looks like mesh, this solved my problem
Post Reply