Jump to content

Plane tangent to a sphere


pichou
 Share

Recommended Posts

I am sure the problem is already solved somewhere and well known but I can't find a working solution.

I have a sphere with planes around it and I need those planes to be tangent to the sphere depending on its position.

I have made a playground with my basic setup: https://www.babylonjs-playground.com/#VDG184#2

You will see 2 solutions I tried but which are not working, one using path3D and one with basic math.

Thank you, Pichou

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...