Vector3 PrimPos(Primitive prim) { Vector3 pos; Quaternion rot; PrimPosAndRot(GetSceneObject(prim.LocalID), out pos, out rot); return pos; }