I am trying to create a concave moving shape using bullet physics SDK but cannot find how to do it.
Do you have any idea on how to achieve this?
I just had this exact problem, bullet has shapes for doing this, but collisions did not work properly for me with those shapes, so I broke up my concave shape into lots of convex ones, did it using a btCompoundShape, with lots of btConvexHullShape as children. To break up a convex shape into triangles (which I just used as 3 point hulls), I used this class:
http://www.flipcode.com/archives/Efficient_Polygon_Triangulation.shtml
Hope this helps, contact me if you want the exact code (it is very tied in to my program though).