I am making a First Person Shooter and I have a player model(3D), rigged, with animations and a Skinned Mesh Render component on it. I tried the Mesh Collider component, but it has a large negative impact on the game performance (animations, frames per second). So I thought, there must be a way to make your own Raycast System(Script, Variable), but I don't know where to start. Is there a way to look into the RaycastHit component script of Unity or do you guys have any ideas how to start making an own Raycasting Script, which doesn't need collider, but supports the Skinned Mesh Renderer component?
P.S. I need it for shooting at players.