public static void sendRotateAgent(Channel channel, Entity entity, float cos, float sin)
{
// retrieve the entity related data we need...
int agentID = entity.get(AgentIdentifiers.class).agentID;
P035_AgentRotate rot = new P035_AgentRotate();
rot.init(channel);
rot.setAgent(agentID);
rot.setRotation1(Float.floatToRawIntBits(cos));
rot.setRotation2(Float.floatToRawIntBits(sin));//0x40060A92);
channel.writeAndFlush(rot);
}