Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.ObjectFlagUpdatePacket$ExtraPhysicsBlock


  /// <param name="restitution">Restitution - standard value 0.5</param>
  /// <param name="gravityMultiplier">Gravity multiplier - standar value 1.0</param>
  public void SetFlags(Simulator simulator, long localID, boolean physical, boolean temporary, boolean phantom, boolean castsShadow,
      PhysicsShapeType physicsType, float density, float friction, float restitution, float gravityMultiplier)
  {
    ObjectFlagUpdatePacket flags = new ObjectFlagUpdatePacket();
    flags.AgentData.AgentID = Client.self.getAgentID();
    flags.AgentData.SessionID = Client.self.getSessionID();
    flags.AgentData.ObjectLocalID = localID;
    flags.AgentData.UsePhysics = physical;
    flags.AgentData.IsTemporary = temporary;
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.ObjectFlagUpdatePacket$ExtraPhysicsBlock

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.