public static ItemWorld DropItem(Vector3 dropPos, Item item) { // In the future, change this to drop the item wherever the player // is facing Vector3 randomDir = UtilTools.GetRandomDir(); ItemWorld itemWorld = SpawnItemWorld(dropPos + randomDir * 2f, item); itemWorld.GetComponent <Rigidbody2D>().AddForce(randomDir * 2f, ForceMode2D.Impulse); return(itemWorld); }