Can raycasting be used to find the point where it leaves a part or something similar to that?
Well you need to specify the origin of the raycast, so you could just use that… But I don’t really think it’s something you find…
no no, I’m just saying if I can find the point where it leaves the part or simulate that
You can raycast back towards the origin of the part
But could I do it from the origin outwards?
I don’t think you can, you would need to cast a 2nd ray
what do you mean by second ray?
Like a ray back towards the origin from the outside of the part
So I create something it can reflect on and cast a second ray backwards
The position where the 2nd ray collided with the part would be the position where the 1st ray exited the part
Oh ok thank you for the solution