/// This will always be the simulator the avatar is currently in
/// </param>
/// <param name="localIDs">An array which contains the IDs of the objects to detach</param>
public void DetachObjects(Simulator simulator, List<Long> localIDs)
{
ObjectDetachPacket detach = new ObjectDetachPacket();
detach.AgentData.AgentID = Client.self.getAgentID();
detach.AgentData.SessionID = Client.self.getSessionID();
detach.ObjectData = new ObjectDetachPacket.ObjectDataBlock[localIDs.size()];
for (int i = 0; i < localIDs.size(); i++)