Jump to content

Align Help


AndrewVK

Recommended Posts

I`m trying to create VexAlign tool which

allows me to orient object by 3 points.

The main idea is:

"The two triplet of points define two planes.

The object are transformed so that the reference

plane transforms into the target plane.

The first reference point exactly going

to the first target point, and the second reference

point going to the line through the first

and second target points"

Its almost done...but i dont have an idea how

to fix "negative Target_Point_3_TY bug"....

Rotation angle always "0 <= Angle <= 180" degree.

Set TargetPoint3 TY < 0 to see :(

Hope someone knows what's wrong here...

MakeAlignHelp.zip

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.

×
×
  • Create New...