|
I have an animated character in my scene (drag-n-dropped from a .fbx file). It has "idle" and "walk" animations. And they play/mix accordingly to some conditions. When I do mouse-click, I want to check if I clicked onto the character. I guess I need to attach Physics->Mesh collider component onto my character and then use Physics.Raycast() routine. But if I assign the skin mesh to be a collider, it remains static during the game. The character moves due to "idle" and "walk" animations, but collision mesh does not change. How do I do it "dynamic"?
(comments are locked)
|
