/// <param name="localID">The objects ID which is local to the simulator the object is in</param>
/// <param name="attachPoint">The point on the avatar the object will be attached</param>
/// <param name="rotation">The rotation of the attached object</param>
public void AttachObject(Simulator simulator, long localID, AttachmentPoint attachPoint, Quaternion rotation)
{
ObjectAttachPacket attach = new ObjectAttachPacket();
attach.AgentData.AgentID = Client.self.getAgentID();
attach.AgentData.SessionID = Client.self.getSessionID();
attach.AgentData.AttachmentPoint = attachPoint.getIndex();
attach.ObjectData = new ObjectAttachPacket.ObjectDataBlock[1];