I have character and make character do animation.
I apply mesh collider to mesh ( sword ) and place a cube near character .
I write script impact , when impact something, console show ‘hit cube’ message.
I apply it to sword mesh but when character do animation, sword and cube impact but Unity won’t detect anything.
Can someone help me ?
don’t use mesh colliders for moving objects. 2) mesh colliders won’t update with animated meshes anyway (and would be too slow to be usable even if they did). Use primitive colliders on bones instead.
If I use box collider or other collider, it won’t move when animated. I want apply collider to bone of character but my character only has mesh. My character import from max with bip animation , I don’t see bone in Unity. How can I import character from max to Unity and character has bone ?
I apply box collider to bone and it follow animation. When character do animation, box collide with cube very good. Thank you very much, Eric.
Now I learn to use mesh collider to make it work, but it won’t work yet.
I apply mesh collider to the bone, choose sword mesh. But sword collider doesn’t exactly at sword, I want to move clidder to sword, but I don’t find how to move only sword collider mesh yet ?
When I move collider, the sword also move, how can I move ( or rotate) collider mesh only ? http://www.mediafire.com/imageview.php?quickkey=3syb8bqp4qnw4be&thumb=4