/// <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;