Sign in to follow this  
pichou

Plane tangent to a sphere

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.