Typically yes ranged will do better, but as default whenever you attempt to attack something your character will auto face that target. So technically you can move your melee to the target but it's a bit more work.