Suppose there is an animated Model of human being with head, body, arms and legs. It has several animations such as walk, run, roll. If different parts are hit by a bullet during an animation, it will cause different damages. How can I simulate this situation with Bullet library in Urho3D? Specifically:
- What kind of collision shape should be used? I suppose it should be SetTriangleMesh. But it may not reflect different parts inside the mesh.
- How can I make the bullet collision shape sync with the animated model when it runs a certain animation?
- If a collision happens, is there a way to tell which bone inside the skeleton the collision takes place?
Maybe there is a completely different way to achieve this in Urho3D? Thanks for any help.