Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.ObjectAttachPacket


  /// <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];
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.ObjectAttachPacket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.