**wierd bugs when attatched**
when I'm attatched and "walking" my avatar's knees are at ground level and if I stand still there's a very very slight rotation on what appears to be a random axis. also there is no rotation of the prim what so ever while it's attached
here's what I have so far
CODE
// Strength and damping are values used to control how llRotLookAt and llLookAt move, these values are tunable.
float strength = 1;
float damping = 1;
vector testwaypoint = <1,0,0>;//this is a test waypoint which is just used for the sake of having a value currently
vector waypoint = <255307.34375,261596.81250,101.00049>;
default {
state_entry() {
llSetTimerEvent(.1);
}
timer()
{
vector gposition = ( llGetRegionCorner()+llGetPos() ); //global position of the prim.
vector target = (waypoint - gposition); // A vector to look at.
llLookAt(target, 1, 1);
llSetText("Current Location: "+ (string) gposition + "\nWaypoint: " + (string) waypoint + "\nVector I'm pointing at :" + (string) (waypoint-gposition) + "\nDistance:" + (string) (llVecDist(waypoint, gposition) ),<1,1,1>,1); //Debugging info
}
}