vector offset =<-1,2,1>;// where you want the object to be located from you player
startup()
{
vector pos = llGetPos();
llSetStatus(STATUS_ROTATE_Z,TRUE);
llSetStatus(STATUS_PHYSICS, TRUE);
key id = llGetOwner();
llSensorRemove();
llSensorRepeat("",llGetOwner(),AGENT,200,2*PI,.1); //.1 is meters or second i don't really know but the lower the number the more accurate the object will be as least that is what seemed to happen with me
}
if someone want's to add more comments then go ahead.