Right, but if the raycast does hit something, the superbiugpart’s position is at the mouse? Or no?
yes precisely. Where do you propose I go from here?
So does the superbiugparts position line up with the mouse currently whenever you raycast?
if the raycast successfully hits yes
i really appreciate the help but i remade the system using camera viewport to ray instead of mouse.hit which currently has 100% accuracy so I’m going to mark this comment as solution but I really appreciated the help
This is likely not the solution because even though yes it is more accurate and I also use this method which I’ve found to be extremely precise, it’s not entirely necessary. Mouse hit does work and the reason why you are having inaccuracies would either be because of the raycast filter not filtering certain objects or because the object you are hitting has a mesh that has a different hitbox than the actual visual of the part, or because of a union that is manipulated by distortion. I use preciseconvexdecomposition on all of my unions unless they run into a problem because of that property(sometimes it can but it’s much more unlikely).
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.