# OT: Lookat controller flipping problem

**URL:** <https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226>\
**Category:** General\
**Created:** [June 29, 2004, 3:04pm UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226 "2004-06-29T15:04:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 29, 2004, 3:04pm UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/1 "2004-06-29T15:04:55Z")

</div>

I know this is a little off topic, but I have had to resort to using masked people on quad patches in my current animation because of stability issues with RPC and Vray.

Anyway, I want the quadpatches to rotate using a Lookat controller so that they always face the camera. This ‘seems’ quite straightforward. In fact, with various trial-and-error clicks on the various orientational controls within the Lookat controller, I can get the quadpatches the right way up and facing the camera nicely.

HOWEVER, at certain points along the animation path, the quadpatches suddenly flip over and my people turn upside down! Obviously not good. I remember this issue from My Max 1.2 years, and I never did solve it.

What do I do? Any tips would be great.

Thanks  
Tricky

---

<div class="post-metadata">

**Author:** ![plastic](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/plastic/32/11567_2.png) [@plastic](https://forums.chaos.com/u/plastic)\
**Post date:** [June 29, 2004, 4:03pm UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/2 "2004-06-29T16:03:32Z")

</div>

lock the z axis.  
i cant go into details now, but you might want to look at my treeshop script for an example of scripted controllers.  
link below.

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 30, 2004, 8:20am UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/3 "2004-06-30T08:20:17Z")

</div>

thanks plastic\_, but I don’t seem to be able to lock the z-axis. If I go to link info and modify the rotation x,y,z axis, I don’t see any difference.

Am I going mad?

---

<div class="post-metadata">

**Author:** ![casewolf](https://avatars.discourse-cdn.com/v4/letter/c/858c86/32.png) [@casewolf](https://forums.chaos.com/u/casewolf)\
**Post date:** [June 30, 2004, 9:20am UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/4 "2004-06-30T09:20:12Z")

</div>

Hi there,

I encountered the same problem and switched to the free billboard script -plugin. I remember you can download it somewhere at scriptspot or 3dmaxer.dk or somewhere - have a look around. I can send it to you as well…

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 30, 2004, 10:00am UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/5 "2004-06-30T10:00:36Z")

</div>

casewolf - I did find that plugin yesterday, and it seemed my problem would be solved. However, it doesn’t appear to be compatible with Max6.

Do you have a newer version?

---

<div class="post-metadata">

**Author:** ![trixian](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/trixian/32/60402_2.png) [@trixian](https://forums.chaos.com/u/trixian)\
**Post date:** [June 30, 2004, 1:44pm UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/6 "2004-06-30T13:44:55Z")

</div>

Have you specified the correct up-axis?

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 30, 2004, 1:52pm UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/7 "2004-06-30T13:52:45Z")

</div>

yes, and at first, that seems to work. But the camera loops around 360 degrees, and about halfway around its path, the quadpatch that is looking at the camera flips!

This is driving me mad!

---

<div class="post-metadata">

**Author:** ![trixian](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/trixian/32/60402_2.png) [@trixian](https://forums.chaos.com/u/trixian)\
**Post date:** [June 30, 2004, 2:17pm UTC](https://forums.chaos.com/t/ot-lookat-controller-flipping-problem/4226/8 "2004-06-30T14:17:14Z")

</div>

hmm..never experienced this with the look-at controller other than when it gimbal locks if I orbit the camera over it.  
Most likely you will have more luck on the discreet 3dsmax forum.
