Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question find the intersection of the meshes

Discussion in 'Physics' started by Ryou0913, Oct 12, 2023.

  1. Ryou0913

    Ryou0913

    Joined:
    Jun 20, 2023
    Posts:
    1
    When the target (left hand) is inside the mesh of this elliptical cube, I would like to use raycast to output a ray starting from the center of the cube and find the intersection of the meshes.Is this possible? If not, are there any other alternatives to achieve this?
     

    Attached Files:

  2. arkano22

    arkano22

    Joined:
    Sep 20, 2012
    Posts:
    1,844
    The intersection of two closed meshes is a volume.

    I'm not sure what you mean by intersection in this case. Do you mean minimum separation vector? (shortest translation that would take the hand out of the ellipse)