08-28-2007 18:44
Okay i have a large hall as a linkset. (20x20x20)

There are several doors in the walls.

So far all fine.


The Problems i discovered are:

Rotating the whole set more than 45° z -> SL prevents me from linking because "peaces are to far away"

Further i have a door realized with

CODE


for(i = 0; i < pitch + .5; i++)
{
llSetPrimitiveParams([PRIM_TYPE, 0, 0, <0.000000, 1.000000, 0.000000>,
0.949000, <0.000000, 0.000000, 0.000000>, <(float)i/pitch, 1.000000, 0.000000>,
<0.000000, 0.000000, 0.000000>]);
}



This works fine if the global rotation of the rootprim is 0 or 90 or 180 or 270 or 360°
But if the rotation is anything else the linkset is breaking into peaces when the door opens.


Another door using

llSetPos(llGetLocalPos() + <1 0, 0>;);

is also working fine while the rotation is 0 or 90 or 180 or 270 or 360°.
In any other case it blocks.

Any suggestions?