I have Shinned Mesh with 2 bones for nonlinear Scalind (GO change from one side of axis). But Mesh Collider does not change its shape following the change in the mesh.
Maybe are there other methods for nonlinear Scaling if this unsolvable problem?
asked Dec 23 '10 at 10:22 AM
You wouldn't want the mesh collider to update with a skinned mesh even if it was possible, since it would be very slow. You can attach primitive colliders to bones instead.
answered Dec 23 '10 at 03:07 PM
I found a script to do this on the forum from user Darkrobyn. I believe this code reproduces the calculations that Unity is doing internally to deform the mesh.
It's working for me, but I currently have a fairly simple mesh and bone setup. I'm firing the forceUpdate occasionally (on mouse up events) which works great in my application.
Have a look here:
The poster didn't include a couple of custom classes that you'll have to add. Something like this:
answered Jan 26 '11 at 09:39 PM