More raycasting issues

Well im really not sure whats the bug here… the ray is working perfectly … detected on the exact angle when pointing the weapon, but the ray itself, seems to be dodgy, it is angled oddly , and not pointing in the direction that the real ray calculated from the weapon is aiming. Its out by just a light bit.

Whats weird , is if im at Vector0 … it is angled and aligned perfectly … but when i move away from the Vector3 position , its angle gets messed. Any ideas?

Ahh damn , my bad overlooked this …

targetPosition = weapon.position + direction * 100

oops hee hee.

Edit : I jsut realised i never even posted the script at question … lol , o well all good , sorted it out, silly me.