For a turret, in the past I found it fairly simple by enabling the up
vector on the direction constraint (set on some null) and then using
plain expressions to grab the correct axis for each of the two
rotation controls.
Up and down moves the turret head, and left to right rotates the main body.
On Jan 11, 2008 1:55 PM, Eric Thivierge <eric(at)xsidatabase.com> wrote:
> In what context do you need it to do this?? For a turret situation you
> can setup a bone with an up vector constraint on it pointing to the
> target. Make your object that needs to face the target a child of the
> bone. AndreZX explains it here a bit:
>
> http://www.xsibase.com/forum/index.php?board=11;action=display;threadid=32545
>
> Thanks,
>
> Eric Thivierge, XSI Database Admin
> www.xsidatabase.com
> eric(at)xsidatabase.com
> Forum Username: EricTRocks
>
>
>
> David Saber wrote:
> > Hello
> > Is it possible to set a direction constraint so that only one axis of
> > the constrained object points at the target?
> > (the object would roll on itself on one axis depending of where the
> > target is situated).
> > Thanks
> > David
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi