Raycasting to deformed mesh

So i am trying to Raycast to my mesh so players can customize their own pets similar to spore. However the raycasting doesn’t give accurate results on a deformed mesh using bones.

heres my examples:

the bright red dot is the ray position

Are there any methods to counteract this limitation or techniques i can use which will give approximate results?