Jump to content

Orienting an object along a particular direction


altreality
 Share

Recommended Posts

Hi,

 

If I have 2 points in 3D space and I want to orient a mesh along the line joining them, how can I achieve this ?

 

Say my points are (0,1,0) & (5, 0, 5). 

 

I see there are many ways to rotate a mesh around a particular axis but is there a way to orient it along a given direction vector by specifying just the vector ?

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