Afternoon, folks. I was wondering if it was possible to disable a specific axis when using the llRotLookAt function.
The code underneath is part of a head (child prim) that turns towards the nearest avatar. It's all working fine, but the head is tilted sidewards, which looks very odd.
<<START CODE>>
vector Offset = (vector)target - llGetPos();
llRotLookAt(llRotBetween(<0,1,0>,Offset), 1.0, 1.0);
<<END CODE>>