Jump to content

Creation of a Vector3 that is a certain distance from another Vector3


mCard
 Share

Recommended Posts

I need to create a Vector3 that is a certain distance away from another Vector3, which is on a line. Basically, I am trying to create a tube that ends in the middle of a cone to create an arrow. However, I already changed the pivot matrix to be the point of the cone and the cone has already been aligned along an axis between two spheres. Is there an easy way to find a Vector3 to serve as the tube's endpoint in Babylon or do I have to solve all of the calculus by hand. So far, the closest I've gotten is a calculus equation. 

I know two Vector3 that are on the line, and the distance that the third Vector3 must be from the second Vector3.

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...