|
![](/i/fill.gif) |
On 8/5/2013 9:00 PM, Patrick Elliott wrote:
> avPos = llDetectedPos(0);
> cPos = llGetPos(0);
> ab = llGetAngleBetween(avPos, cPos);
> TestDistance = ???(ab) * 5;
Range = 5;
TestDistance = (Range - x * cos(ab)))/sin(ab);
So.. How do I get that to make a "wall" instead of just a 2D line? Use z
in a second one, then check both?
Uh, coordinate system they use is Z = up.
No, wait, that just give me a plain, without telling me if its inside
the box on that plane.. Sigh.. Right back to having to test if its in
the box... Suppose, combining the two..
:head-> desk, head-> desk, head-> desk, head-> desk, head-> desk, ouch!: lol
Post a reply to this message
|
![](/i/fill.gif) |