Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.ObjectDeGrabPacket$ObjectDataBlock


  /// <param name="binormal">The surface binormal of the position to grab (A binormal is a vector tangen to the surface
  /// pointing along the U direction of the tangent space</param>
  public void DeGrab(long objectLocalID, Vector3 uvCoord, Vector3 stCoord, int faceIndex, Vector3 position,
      Vector3 normal, Vector3 binormal)
  {
    ObjectDeGrabPacket degrab = new ObjectDeGrabPacket();
    degrab.AgentData.AgentID = Client.self.getAgentID();
    degrab.AgentData.SessionID = Client.self.getSessionID();

    degrab.ObjectData.LocalID = objectLocalID;
View Full Code Here


    // TODO: If these hit the server out of order the click will fail
    // and we'll be grabbing the object
    Thread.sleep(50);

    ObjectDeGrabPacket degrab = new ObjectDeGrabPacket();
    degrab.AgentData.AgentID = Client.self.getAgentID();
    degrab.AgentData.SessionID = Client.self.getSessionID();
    degrab.ObjectData.LocalID = localID;
    degrab.SurfaceInfo = new ObjectDeGrabPacket.SurfaceInfoBlock[1];
    degrab.SurfaceInfo[0] = new ObjectDeGrabPacket.SurfaceInfoBlock();
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.ObjectDeGrabPacket$ObjectDataBlock

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.