Jump to content

Using the LookAt Constraint


Recommended Posts

So I'm planning to use the lookat FX constraint to keep a piston/cylinder pair lined up, which I think might be the most common application. I mostly know what to do .cfg wise, but I need some Unity guidance...

What point will Unity use as the pivot for the rotator?

Which end of the object will point at the target?

Is there anything else I need to setup under the hood in Unity to make this possible?

Thanks for all the help you guys have given me so far, I promise I'll have a mod to show for it soon.

Link to comment
Share on other sites

1) the local pivot of the named GO it's applied to

2) Z+

3) it will rotate around the X axis. Put them facing each other, correctly aligned to start with. I've seen people align them to world Z, or something equally bizarre..

youtube runs through it toward the end if you need any further guidance.
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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