Trader posted the code for rotating items once but I don't think they floated.
package rotateItems
{
function ItemData::onAdd(%this,%obj)
{
%obj.rotate = 1;
Parent::onAdd(%this,%obj);
}
};activatepackage(rotateItems);
Just save that as a .cs and drop it in your add-ons folder.