Package com.ngt.jopenmetaverse.shared.protocol

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


  /// <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 Grab(long objectLocalID, Vector3 grabOffset, Vector3 uvCoord, Vector3 stCoord, int faceIndex, Vector3 position,
      Vector3 normal, Vector3 binormal)
  {
    ObjectGrabPacket grab = new ObjectGrabPacket();

    grab.AgentData.AgentID = Client.self.getAgentID();
    grab.AgentData.SessionID = Client.self.getSessionID();

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


  /// <param name="binormal">The surface binormal of the position to touch (A binormal is a vector tangen to the surface
  /// pointing along the U direction of the tangent space</param>
  public void ClickObject(Simulator simulator, long localID, Vector3 uvCoord, Vector3 stCoord, int faceIndex, Vector3 position,
      Vector3 normal, Vector3 binormal) throws InterruptedException
      {
    ObjectGrabPacket grab = new ObjectGrabPacket();
    grab.AgentData.AgentID = Client.self.getAgentID();
    grab.AgentData.SessionID = Client.self.getSessionID();
    grab.ObjectData.GrabOffset = Vector3.Zero;
    grab.ObjectData.LocalID = localID;
    grab.SurfaceInfo = new ObjectGrabPacket.SurfaceInfoBlock[1];
View Full Code Here

TOP

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

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.